Skip to content Skip to sidebar Skip to footer

Webrtc, Stun/turn Not Working Outside Lan

index.html (Offerer) var socket = io.connect('http://127.0.0.1:80'); //socket.io socket.emit('player 1'); var iceServers = { iceServers: [ {'url':'stun:turn1.xirsys.co

Solution 1:

XirSys guy here. [=

I'm not quite sure what your error is, other than it's just not working. If the error is simply that video isn't flowing, you should know that TURN won't work because you've embedded credentials for TURN that would have expired by now. When using XirSys, you have to call /getIceServers to get a "fresh" set of STUN and TURN servers that are associated with your account. This POST request must be made and the results placed into your iceServers variable each time you initiate a call.

In order to gain a quick understanding of our platform, I'd suggest reading the following guides:

Thanks so much for showing interest in our service, and please let me know if you have anymore questions or comments.

Post a Comment for "Webrtc, Stun/turn Not Working Outside Lan"