Build and Run the Video Conferencing Sample on Public Cloud or Local Machine
AWS EC2 INSTANCE, UBUNTU 18.04 LTS
AZURE VM INSTANCE, UBUNTU 18.04 LTS
GOOGLE CLOUD PLATFORM VM INSTANCE, UBUNTU 18.04 LTS
1. PREREQUISITES
$ sudo apt update –y
$ sudo apt install –y docker
$ sudo service docker start
$ sudo apt install –y cmake make git.
Initialize docker swarm as we will use docker swarm for deployment.
$ sudo docker swarm init
Swarm initialized: current node (04k9ydxpdtx40nym8ag2j499r) is now a manager.
docker swarm join --token SWMTKN-1-2jthey7uay7ym5ko1db4etp9lt5sjmi8u4qhkv4owe1ysip943-5novs363q4nby8kgaek8ury6i 172.31.18.164:2377
$
2. CLONE THE SAMPLE SOURCE CODE
Run the following command to clone the Video Conferencing Sample source code:
$ git clone https://github.com/OpenVisualCloud/Video-Conferencing-Sample.git
3. BUILD THE SAMPLE
Run the following commands to build the Video Conferencing Sample. The build time is about 1 hours on m4.2xlarge.
$ cd Video-Conferencing-Sample
$ mkdir build
$ cd build
$ cmake ..
This script will build third party components licensed under various open source licenses into your container images. The terms under which those components may be used and distributed can be found with the license document that is provided with those components. Please familiarize yourself with those terms to ensure your distribution of those components complies with the terms of those licenses.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/workspace/OVC/Video-Conferencing-Sample/build
$ make
Scanning dependencies of target build_docker_compose
Sending build context to Docker daemon 30.21kB
...
Successfully built 017d27551a53
Successfully tagged xeon-ubuntu1804-service-owt-meeting:latest
Built target build_xeon-ubuntu1804-service-owt-meeting

4. START THE SAMPLE SERVICE

$ make start_docker_swarm
Total reclaimed space: 0B
Total reclaimed space: 0B
Ignoring unsupported options: restart
Creating service webmeeting_owt-web-meeting
Creating service webmeeting_owt-service
Built target start_docker_swarm
$
5. TEST THE SAMPLE
