Hello !
My problem in js sdk, code:
room = Woogeen.ConferenceClient.create();
localStream = Woogeen.LocalStream.create({video:false, audio: true}, function(err, str){
if (!err) room.publish(str, {}, function(st) {
console.log('publish: ok');
}, function(err) {
console.log('publish error: '+ err);
});
});
And i get error: "peer connection failed".
Log from server:
2015-12-10 14:51:28,007 - INFO: WebRtcConnection - Update Transport State audio to 4
2015-12-10 14:51:28,007 - INFO: WebRtcConnection - WebRtcConnection failed, stopping sending
2015-12-10 14:51:28,007 - INFO: WebRtcConnection - WebRtcConnection failed, stopped sending
2015-12-10 14:51:28.008 - INFO: ErizoJSController - webrtc Addon status 500
2015-12-10 14:51:34.062 - INFO: ErizoJSController - Removing muxer TMVbHhijkZyzVm32AABt
2015-12-10 14:51:34,062 - DEBUG: mcu.WebRTCGateway - closeAll
2015-12-10 14:51:34,062 - INFO: WebRtcConnection - WebRtcConnection Destructor
2015-12-10 14:51:34,062 - INFO: NiceConnection - audio - NICE State Changing from 5 to 4 0x1172690
2015-12-10 14:51:34.062 - INFO: ErizoJSController - Removing subscribers TMVbHhijkZyzVm32AABt
2015-12-10 14:51:34.062 - INFO: ErizoJSController - Removing publisher TMVbHhijkZyzVm32AABt
2015-12-10 14:51:34.062 - INFO: ErizoJSController - Publishers: 0
2015-12-10 14:51:34.063 - INFO: ErizoJSController - Removed all publishers. Killing process.
If change video options for camera and resolution in Woogeen.LocalStream.create - this work.
Maybe i wrong or this method without video dont work ?