Docker

MIN_PORT=30000; MAX_PORT=30050; docker run -d --name licode -p 3000:3000 -p $MIN_PORT-$MAX_PORT:$MIN_PORT-$MAX_PORT/udp -p 3001:3001  -p 8080:8080 -e "MIN_PORT=$MIN_PORT" -e "MAX_PORT=$MAX_PORT" -e "PUBLIC_IP=0.0.0.0" lynckia/licode

Roles

http://lynckia.com/licode/roles.html

set HTTPS

http://lynckia.com/licode/nginx-dep.html

in licode_config, should set

config.erizoController.hostname

otherwise will show certificate name does not match

Build Image Base on Official Image

refer to ezlicode's Dockerfile

https://github.com/cracker0dks/ezLicode

customize licode init shell script

  1. set service id and service key
    1. service Id and service key are stored in the MongoDB
  2. change licode_config.js file
    1. for js file, we can reassign value to object

use Tag to identify Licode's version

FROM lynckia/licode:04d9c0e

Solution for Large Scale

master slave architecture

master for publishing videos

slave for subscribing videos

there should be one bridge to forward video stream from master node to slave node.

Bridge

use puppeteer to open a browser as bridge

Load balancer

Licode server's info should be stored in database

results matching ""

    No results matching ""