0

I'm following the guide on Licode page

I have installed everything on Ubuntu 14.04.

I have configure ssl for licode and erizo controller in licode_config.js file to make the example works. Every other configurations i just keep them un-touch.

I have run the basic example but i cannot make a video conference.

Tracing google chrome console log, i catched:

WARNING:  Publishing Stream 665544631310986500 has failed after successful ICE checks
DEBUG:  Event: stream-failed
Stream Failed, act accordingly
DEBUG:  Received a removeStream for 665544631310986500 and it has not been registered here, ignoring.
INFO:  Stream unpublished

It's looks like i have to configure STUN or something in configuration of licode to make it works.

khoa_chung_89
  • 975
  • 9
  • 25

2 Answers2

1

Got to say "Thank you!", it works for me by setting following in licode_config.js

set the range of ports to be used by libnice:

config.erizo.minport=30000
config.erizo.maxport=31000

set server public IP

config.erizoController.publicIP=serverPublicIP
config.erizoAgent.publicIP=serverPublicIP

Change default stun server as stun.google is wall'ed in countries like north korea, Iran etc.

My licode runs in docker, having ports mapping from server to the docker container of range 30000-31000, so have to ensure libnice ports fall into the range.

Wen
  • 11
  • 4
0

After reading several articles on Licode website and their community. I find out that, the issue just because my server is an Azure VPS - not a local computer. It has public IP and private IP so I have to set config.erizoController.publicIP, config.erizoAgent.publicIP to the public IP of the server.

Also Azure vps close all ports by default (except some ports i have already opened). Because of that, i have to open suitable port range and setting the config.erizo.minport, config.erizo.maxport in licode_config.js file. The port range i use: 30000-31000.

The valuable reference: http://discourse.lynckia.com/t/running-licode-in-azure/29

khoa_chung_89
  • 975
  • 9
  • 25