Open vvhuy298 opened 10 years ago
Simply replace this line with:
var SIGNALING_SERVER = 'https://webrtc-signaling.nodejitsu.com:443/';
config.MediaStream
is actually peer.MediaStream
which is called here. So it shouldn't be the issue.
P.S. Whilst testing between chrome and Firefox, make sure that you're using two unique webcam sources or otherwise install something like ManyCam
.
Thank you for your reply.
I replaced it "var SIGNALING_SERVER = 'https://webrtc-signaling.nodejitsu.com:443/';" but still got the issue. I'm testing between Chrome on MacOS and FireFox on Win7. it got issue too when testing between Firefox on MacOS and FireFox on Win7. But it work fine when test between Chrome on Macos and Chrome on Win7. Please help me. Thank you more!
Just uploaded the demo here:
and updated the code:
Ok i got it, Thank you very much !
I use this example code: It run fine when i use Chrome call to Firefox but when do the opposite it got error Error occurs when Button "Receive His Call" click. On file PeerConnection.js Line 336 if (config.MediaStream) peer.addStream(config.MediaStream); config.MediaStream will result null on firefox "Object { MediaStream=LocalMediaStream, sdp={...}, onsdp=function(), more...}" Can you help me resolve it? Thank you very much