WebRTC Audio/Video Calls not working with Different and Mobile Networks

777 views
Skip to first unread message

Annamalai

unread,
Mar 10, 2016, 10:56:37 AM3/10/16
to discuss-webrtc
Hi,

I have developed a simple P2P audio and video call application using WebRTC recent adapter.js, 'Adapter.js shimming chrome!' version. When the application is tested with in the same (cable) network, it works fine and the video,audio call gets connected most of the times. If i tested via different networks, like mobile 3G networks / Railwire type of network, the call is not established. No errors were shown specific on the logger added, except the candidate state mismatch. I used the following servers and technologies for my application development :

TURN : turn:192.158.29.39:3478, username : "JZEOEt2V3Qb0y27GRntt2u2PAYA=", credential : "28224511:1379330808"
(Also tested with our own TURN server created using Google resource at https://code.google.com/archive/p/rfc5766-turn-server/)

Signaling : Node.js and Socket.IO, 

Chrome browser Version 49.0.2623.87 m.

If i check the candidates emitting and its state, its reaching 'ICEConnectionStateFailed' on Peer A and its still 'ICEConnectionState:Gathering' on the Peer B side, for the error case with different networks. Shall anybody share your ideas on this to resolve without using WebRTC Gateway.

Honghai Zhang

unread,
Mar 10, 2016, 4:16:44 PM3/10/16
to discuss...@googlegroups.com
We are aware of an issue that the ICEConnection may reach a failed state at the beginning of the call if a connection is created and deleted quickly before any other connections are created. The error you described might be caused this issue. 
In your application, if you do not let ICEConnectionStateFailed end your call, it will fix the problem. 

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/50de6aca-5032-472c-b548-798a28c39017%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages