The Log of Licode,why it doesnt work
I have publish my Licode at internet ,but can't see each other but the local stream,Is it the problem of stun server setup?so how to set stun server? Floowing is a part of my initLicode.sh scripts log
2015-04-26 08:07:20.181 - INFO: AMQPER - Exchange rpcExchange is open 2015-04-26 08:07:20.185 - INFO: AMQPER - Exchange broadcastExchange is open 2015-04-26 08:07:20.187 - INFO: AMQPER - ClientQueue amq.gen-GxLoBFfV2x-TMbwahwZE-g is open 2015-04-26 08:07:20.189 - INFO: ErizoJS - ID: ErizoJS_1f5ae9b3-6ee7-5364-33d3-3389294b15ba 2015-04-26 08:07:20.191 - INFO: AMQPER - Queue ErizoJS_1f5ae9b3-6ee7-5364-33d3-3389294b15ba is open 2015-04-26 08:07:20.193 - INFO: ErizoJS - ErizoJS started 2015-04-26 08:08:15.328 - INFO: ErizoJSController - Adding publisher peer_id 841850619530305300 2015-04-26 08:08:15,330 - DEBUG: OneToManyProcessor - OneToManyProcessor constructor 2015-04-26 08:08:15,331 - WARN: WebRtcConnection - WebRtcConnection constructor stunserver stun:stun.iptel.org stunPort 0 minPort 0 maxPort 0
2015-04-26 08:08:15.331 - INFO: ErizoJSController - initializing 2015-04-26 08:10:18.944 - DEBUG: ErizoJS - KeepAlive from ErizoController 2015-04-26 08:10:22.205 - INFO: ErizoJSController - Adding publisher peer_id 944645843468606500 2015-04-26 08:10:22,207 - DEBUG: OneToManyProcessor - OneToManyProcessor constructor 2015-04-26 08:10:22,207 - WARN: WebRtcConnection - WebRtcConnection constructor stunserver stun:stun.iptel.org stunPort 0 minPort 0 maxPort 0
this is the info of about:webrtc in firefox,
so how to resolve No TURN servers specified at the end of log info?
(registry/INFO) insert 'ice' (registry) succeeded: ice (registry/INFO) insert 'ice.pref' (registry) succeeded: ice.pref (registry/INFO) insert 'ice.pref.type' (registry) succeeded: ice.pref.type (registry/INFO) insert 'ice.pref.type.srv_rflx' (UCHAR) succeeded: 0x64 (registry/INFO) insert 'ice.pref.type.peer_rflx' (UCHAR) succeeded: 0x6e (registry/INFO) insert 'ice.pref.type.host' (UCHAR) succeeded: 0x7e (registry/INFO) insert 'ice.pref.type.relayed' (UCHAR) succeeded: 0x05 (registry/INFO) insert 'ice.pref.type.relayed_tcp' (UCHAR) succeeded: 0x00 (registry/INFO) insert 'ice.pref.interface' (registry) succeeded: ice.pref.interface (registry/INFO) insert 'ice.pref.interface.rl0' (UCHAR) succeeded: 0xff (registry/INFO) insert 'ice.pref.interface.wi0' (UCHAR) succeeded: 0xfe (registry/INFO) insert 'ice.pref.interface.lo0' (UCHAR) succeeded: 0xfd (registry/INFO) insert 'ice.pref.interface.en1' (UCHAR) succeeded: 0xfc (registry/INFO) insert 'ice.pref.interface.en0' (UCHAR) succeeded: 0xfb (registry/INFO) insert 'ice.pref.interface.eth0' (UCHAR) succeeded: 0xfc (registry/INFO) insert 'ice.pref.interface.eth1' (UCHAR) succeeded: 0xfb (registry/INFO) insert 'ice.pref.interface.eth2' (UCHAR) succeeded: 0xf9 (registry/INFO) insert 'ice.pref.interface.ppp' (UCHAR) succeeded: 0xfa (registry/INFO) insert 'ice.pref.interface.ppp0' (UCHAR) succeeded: 0xf9 (registry/INFO) insert 'ice.pref.interface.en2' (UCHAR) succeeded: 0xf8 (registry/INFO) insert 'ice.pref.interface.en3' (UCHAR) succeeded: 0xf7 (registry/INFO) insert 'ice.pref.interface.em0' (UCHAR) succeeded: 0xfb (registry/INFO) insert 'ice.pref.interface.em1' (UCHAR) succeeded: 0xfc (registry/INFO) insert 'ice.pref.interface.vmnet0' (UCHAR) succeeded: 0xf0 (registry/INFO) insert 'ice.pref.interface.vmnet1' (UCHAR) succeeded: 0xf1 (registry/INFO) insert 'ice.pref.interface.vmnet3' (UCHAR) succeeded: 0xef (registry/INFO) insert 'ice.pref.interface.vmnet4' (UCHAR) succeeded: 0xee (registry/INFO) insert 'ice.pref.interface.vmnet5' (UCHAR) succeeded: 0xed (registry/INFO) insert 'ice.pref.interface.vmnet6' (UCHAR) succeeded: 0xec (registry/INFO) insert 'ice.pref.interface.vmnet7' (UCHAR) succeeded: 0xeb (registry/INFO) insert 'ice.pref.interface.vmnet8' (UCHAR) succeeded: 0xea (registry/INFO) insert 'ice.pref.interface.virbr0' (UCHAR) succeeded: 0xe9 (registry/INFO) insert 'ice.pref.interface.wlan0' (UCHAR) succeeded: 0xe8 (registry/INFO) insert 'stun' (registry) succeeded: stun (registry/INFO) insert 'stun.client' (registry) succeeded: stun.client (registry/INFO) insert 'stun.client.maximum_transmits' (UINT4) succeeded: 7 (registry/INFO) insert 'ice.trickle_grace_period' (UINT4) succeeded: 5000 (ice/WARNING) ICE(PC:1430012624357000 (id=157 url=http://xxxxxxxxxx:3001/)): No STUN servers specified (ice/NOTICE) ICE(PC:1430012624357000 (id=157 url=http://xxxxxxxxx:3001/)): No TURN servers specified
Did you check licode_config.js ? Stun and turn are setup there.
On Saturday, April 25, 2015, qdog988 [email protected] wrote:
this is the info of about:webrtc in firefox,
so how to resolve No TURN servers specified at the end of log info?
(registry/INFO) insert 'ice' (registry) succeeded: ice (registry/INFO) insert 'ice.pref' (registry) succeeded: ice.pref (registry/INFO) insert 'ice.pref.type' (registry) succeeded: ice.pref.type (registry/INFO) insert 'ice.pref.type.srv_rflx' (UCHAR) succeeded: 0x64 (registry/INFO) insert 'ice.pref.type.peer_rflx' (UCHAR) succeeded: 0x6e (registry/INFO) insert 'ice.pref.type.host' (UCHAR) succeeded: 0x7e (registry/INFO) insert 'ice.pref.type.relayed' (UCHAR) succeeded: 0x05 (registry/INFO) insert 'ice.pref.type.relayed_tcp' (UCHAR) succeeded: 0x00 (registry/INFO) insert 'ice.pref.interface' (registry) succeeded: ice.pref.interface (registry/INFO) insert 'ice.pref.interface.rl0' (UCHAR) succeeded: 0xff (registry/INFO) insert 'ice.pref.interface.wi0' (UCHAR) succeeded: 0xfe (registry/INFO) insert 'ice.pref.interface.lo0' (UCHAR) succeeded: 0xfd (registry/INFO) insert 'ice.pref.interface.en1' (UCHAR) succeeded: 0xfc (registry/INFO) insert 'ice.pref.interface.en0' (UCHAR) succeeded: 0xfb (registry/INFO) insert 'ice.pref.interface.eth0' (UCHAR) succeeded: 0xfc (registry/INFO) insert 'ice.pref.interface.eth1' (UCHAR) succeeded: 0xfb (registry/INFO) insert 'ice.pref.interface.eth2' (UCHAR) succeeded: 0xf9 (registry/INFO) insert 'ice.pref.interface.ppp' (UCHAR) succeeded: 0xfa (registry/INFO) insert 'ice.pref.interface.ppp0' (UCHAR) succeeded: 0xf9 (registry/INFO) insert 'ice.pref.interface.en2' (UCHAR) succeeded: 0xf8 (registry/INFO) insert 'ice.pref.interface.en3' (UCHAR) succeeded: 0xf7 (registry/INFO) insert 'ice.pref.interface.em0' (UCHAR) succeeded: 0xfb (registry/INFO) insert 'ice.pref.interface.em1' (UCHAR) succeeded: 0xfc (registry/INFO) insert 'ice.pref.interface.vmnet0' (UCHAR) succeeded: 0xf0 (registry/INFO) insert 'ice.pref.interface.vmnet1' (UCHAR) succeeded: 0xf1 (registry/INFO) insert 'ice.pref.interface.vmnet3' (UCHAR) succeeded: 0xef (registry/INFO) insert 'ice.pref.interface.vmnet4' (UCHAR) succeeded: 0xee (registry/INFO) insert 'ice.pref.interface.vmnet5' (UCHAR) succeeded: 0xed (registry/INFO) insert 'ice.pref.interface.vmnet6' (UCHAR) succeeded: 0xec (registry/INFO) insert 'ice.pref.interface.vmnet7' (UCHAR) succeeded: 0xeb (registry/INFO) insert 'ice.pref.interface.vmnet8' (UCHAR) succeeded: 0xea (registry/INFO) insert 'ice.pref.interface.virbr0' (UCHAR) succeeded: 0xe9 (registry/INFO) insert 'ice.pref.interface.wlan0' (UCHAR) succeeded: 0xe8 (registry/INFO) insert 'stun' (registry) succeeded: stun (registry/INFO) insert 'stun.client' (registry) succeeded: stun.client (registry/INFO) insert 'stun.client.maximum_transmits' (UINT4) succeeded: 7 (registry/INFO) insert 'ice.trickle_grace_period' (UINT4) succeeded: 5000 (ice/WARNING) ICE(PC:1430012624357000 (id=157 url=http://xxxxxxxxxx:3001/)): No STUN servers specified (ice/NOTICE) ICE(PC:1430012624357000 (id=157 url=http://xxxxxxxxx:3001/)): No TURN servers specified
— Reply to this email directly or view it on GitHub https://github.com/ging/licode/issues/290#issuecomment-96307095.
Sent from Gmail Mobile
Following is my licode_config.js
How to set it correctly
var config = {}
/********************************************************* COMMON CONFIGURATION It's used by Nuve, ErizoController, ErizoAgent and ErizoJS **********************************************************/ config.rabbit = {}; config.rabbit.host = 'localhost'; //default value: 'localhost' config.rabbit.port = 5672; //default value: 5672 config.logger = {}; config.logger.config_file = '../log4js_configuration.json'; //default value: "../log4js_configuration.json"
/********************************************************* CLOUD PROVIDER CONFIGURATION It's used by Nuve and ErizoController **********************************************************/ config.cloudProvider = {}; config.cloudProvider.name = ''; //In Amazon Ec2 instances you can specify the zone host. By default is 'ec2.us-east-1a.amazonaws.com' config.cloudProvider.host = ''; config.cloudProvider.accessKey = ''; config.cloudProvider.secretAccessKey = '';
/********************************************************* NUVE CONFIGURATION **********************************************************/ config.nuve = {}; config.nuve.dataBaseURL = "localhost/nuvedb"; // default value: 'localhost/nuvedb' config.nuve.superserviceID = '553a0a6bda5eb47760b16589'; // default value: '' config.nuve.superserviceKey = '19309'; // default value: '' config.nuve.testErizoController = 'localhost:8080'; // default value: 'localhost:8080'
/********************************************************* ERIZO CONTROLLER CONFIGURATION **********************************************************/ config.erizoController = {};
//Use undefined to run clients without Stun config.erizoController.stunServerUrl = 'stun:stun.iptel.org:3478'; // default value: 'stun:stun.l.google.com:19302'
// Default and max video bandwidth parameters to be used by clients config.erizoController.defaultVideoBW = 300; //default value: 300 config.erizoController.maxVideoBW = 300; //default value: 300
// Public erizoController IP for websockets (useful when behind NATs) // Use '' to automatically get IP from the interface config.erizoController.publicIP = '123.50.251.104'; //default value: '' // Use '' to use the public IP address instead of a hostname config.erizoController.hostname = ''; //default value: '' config.erizoController.port = 8080; //default value: 8080 // Use true if clients communicate with erizoController over SSL config.erizoController.ssl = false; //default value: false
// Use the name of the inferface you want to bind to for websockets // config.erizoController.networkInterface = 'eth1' // default value: undefined
//Use undefined to run clients without Turn config.erizoController.turnServer = {}; // default value: undefined config.erizoController.turnServer.url = ''; // default value: null config.erizoController.turnServer.username = ''; // default value: null config.erizoController.turnServer.password = ''; // default value: null
config.erizoController.warning_n_rooms = 15; // default value: 15 config.erizoController.limit_n_rooms = 20; // default value: 20 config.erizoController.interval_time_keepAlive = 1000; // default value: 1000
// Roles to be used by services config.erizoController.roles = {"presenter": {"publish": true, "subscribe": true, "record": true}, "viewer": {"subscribe": true}, "viewerWithData": {"subscribe": true, "publish": {"audio": false, "video": false, "screen": false, "data": true}}}; // default value: {"presenter":{"publish": true, "subscribe":true, "record":true}, "viewer":{"subscribe":true}, "viewerWithData":{"subscribe":true, "publish":{"audio":false,"video":false,"screen":false,"data":true}}}
// If true, erizoController sends report to rabbitMQ queue "report_handler" config.erizoController.report = { session_events: false, // Session level events -- default value: false connection_events: false, // Connection (ICE) level events -- default value: false rtcp_stats: false // RTCP stats -- default value: false };
// If undefined, the path will be /tmp/ config.erizoController.recording_path = undefined; // default value: undefined
/********************************************************* ERIZO AGENT CONFIGURATION **********************************************************/ config.erizoAgent = {};
// Max processes that ErizoAgent can run config.erizoAgent.maxProcesses = 1; // default value: 1 // Number of precesses that ErizoAgent runs when it starts. Always lower than or equals to maxProcesses. config.erizoAgent.prerunProcesses = 1; // default value: 1
// Public erizoAgent IP for ICE candidates (useful when behind NATs) // Use '' to automatically get IP from the interface config.erizoAgent.publicIP = ''; //default value: '' // Use the name of the inferface you want to bind for ICE candidates // config.erizoAgent.networkInterface = 'eth1' // default value: undefined
/********************************************************* ERIZO JS CONFIGURATION **********************************************************/ config.erizo = {};
//STUN server IP address and port to be used by the server. //if '' is used, the address is discovered locally config.erizo.stunserver = 'stun:stun.iptel.org'; // default value: '' config.erizo.stunport = 3478; // default value: 0
//note, this won't work with all versions of libnice. With 0 all the available ports are used config.erizo.minport = 0; // default value: 0 config.erizo.maxport = 0; // default value: 0
/***** END *****/ // Following lines are always needed. var module = module || {}; module.exports = config;
hi~,@qdog988,have you solve the "No STUN servers " problem yet?I am getting the same problem..