starwarfan / Video-Conferencing-Sample

Video Conferencing Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The video conferencing sample implements a web meeting demo based on Open WebRTC Toolkit (OWT) media server and client SDK, which fully demonstrates OWT media processing features in both mix and forward modes. It also provides basic conferencing actions like screen sharing, instant messaging, and meeting control in web UI.

Install docker engine:

(1) Install docker engine.
(2) Install docker compose, if you plan to deploy through docker compose. Version 1.20+ is required.
(3) Setup docker swarm, if you plan to deploy through docker swarm. See docker swarm setup for additional setup details.

Setup docker proxy:

(4) sudo mkdir -p /etc/systemd/system/docker.service.d       
(5) printf "[Service]\nEnvironment=\"HTTPS_PROXY=$https_proxy\" \"NO_PROXY=$no_proxy\"\n" | sudo tee /etc/systemd/system/docker.service.d/proxy.conf       
(6) sudo systemctl daemon-reload          
(7) sudo systemctl restart docker     

Build docker images:

(1) mkdir build    
(2) cd build     
(3) cmake ..    
(4) make     

Start/stop services:

Use the following commands to start/stop services via docker swarm:

(1) make start_docker_swarm      
(2) make stop_docker_swarm      

Launch browser:

Launch your browser and point to https://localhost to join the video conference. Note that the default certificates are self-signed with limited lifetime for demo purpose only. Suggest to replace them with your own key pairs with trusted certificates. You may need to confirm the self-signed certificate exception to continue if default certificates are used for demo purpose.

About

Video Conferencing Sample

License:Apache License 2.0


Languages

Language:JavaScript 94.4%Language:CSS 2.4%Language:Dockerfile 1.5%Language:Shell 0.8%Language:HTML 0.7%Language:CMake 0.3%