-
Notifications
You must be signed in to change notification settings - Fork 18
Tutorial: Running Video Conferencing on Public Cloud
The Open Visual Cloud is highly optimized for the latest Intel® Xeon® Scalable Processors. Developers can use their own x86 development system to build, customize, and evaluate Open Visual Cloud reference pipelines, or use a public cloud to assess system scalability and performance.
This tutorial builds and runs the Video Conferencing sample on the Amazon Web Services (AWS) or your local machine. The following figures show the running compute instances of the AWS cloud service.
Run the following commands to install the software packages required to build the sample:
sudo apt update –y
sudo apt install –y docker
sudo service docker start
sudo apt install –y cmake make git m4
Initialize docker swarm as we will use docker swarm for deployment.
sudo docker swarm init
To add a worker to this swarm, run the following command (token and IP address will be different):
docker swarm join --token SWMTKN-1-2jthey7uay7ym5ko1db4etp9lt5sjmi8u4qhkv4owe1ysip943-5novs363q4nby8kgaek8ury6i 172.31.18.164:2377
git clone https://github.com/OpenVisualCloud/Video-Conferencing-Sample.git
cd Video-Conferencing-Sample
mkdir build
cd build
cmake ..
make
Please add following configuration in docker-compose.yml
under the deployment/docker-swarm
folder before deployment:
- ip: AWS EC2 instance’s public ip address.
-
eth: The network device id which maps to the public ip address like
eth0
.
Please also make sure that the inbound traffic to the Video Conferencing sample is allowed by configuring the corresponding AWS EC2 instance’s inbound rules in the security groups. The Video Conferencing sample default serving ports are as following:
- Sample web page: 443 (TCP)
- OWT management console: 3300 (TCP)
- OWT portal service: 8080 (TCP)
- OWT WebRTC connection service: 0 - 65535 (UDP)
Now, it is time to start the sample service:
make start_docker_swarm
The Video Conferencing sample exposes a web interface at port 443. Open your browser to https:// and accept the self-signed certificate to proceed to the sample UI. Log into and Video Conference Sample, both audio/video communication and screen sharing capability are served in this sample.
Powered by Open Visual Cloud WebRTC service.