WebRTC Networking issue

Ask questions about the JavaScript API here

WebRTC Networking issue

Postby victorsb » Fri Nov 09, 2012 6:08 am

We keep testing the WebRTC version and with some participants we are seeing the following error:

Code: Select all
Timed out while waiting for the Video to load the stream. This could be because someone is behind a Firewall or Symmetric NAT


There is no firewall so we are probably talking about a Symmetric NAT, which makes me wonder, how is WebRTC tokbox finding the "other side" via STUN? Is there a way to fix it?

Thanks in advance

EDIT: Is there anything like http://tokbox.com/user-diagnostic/index.php for the webrtc version?

Thanks
Was this post helpful? (0)
victorsb
 
Posts: 36
Joined: Tue Sep 20, 2011 3:21 pm
Thumbs Up: 4

Re: WebRTC Networking issue

Postby janine » Fri Nov 09, 2012 4:48 pm

Hi! Thanks, as usual, for reporting this. If you are behind a symmetric NAT, it looks like we can't do anything about this without relaying the video across our servers. We are working on this problem (it is not an easy one, so not something in the next week or even next few weeks) - until we find a solution please use the Flash stack!

also thanks for the feedback on the diagnostic for webrtc. Will pass on.

Janine
Was this post helpful? (0)
janine
 
Posts: 1681
Joined: Thu May 05, 2011 7:10 pm
Thumbs Up: 20

Re: WebRTC Networking issue

Postby victorsb » Sat Nov 10, 2012 7:05 pm

We will and we will further investigate the networks config causing this (it might not be a symmetric NAT after all)

Another question, does the API generate an event when this error happens so we can catch it and act upon it?

Thanks
Was this post helpful? (0)
victorsb
 
Posts: 36
Joined: Tue Sep 20, 2011 3:21 pm
Thumbs Up: 4

Re: WebRTC Networking issue

Postby mumm » Wed Nov 14, 2012 7:22 pm

Hi Victor,

The API should dispatch a 1013 P2P Connection Failed exceptionEvent. Documentation on how to listen for those events here: http://tokbox.com/opentok/api/tools/js/ ... Event.html.

Jon
Was this post helpful? (0)
mumm
 
Posts: 374
Joined: Wed May 18, 2011 12:10 am
Thumbs Up: 27


Return to JavaScript



Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron