WebRTC-Experiment icon indicating copy to clipboard operation
WebRTC-Experiment copied to clipboard

Does not work cross network.

Open mozgenn opened this issue 3 years ago • 5 comments

When I host my broadcasting 1 - many users, it works when Users connect from my own network but doesn't work when someone tries to connect out of my network to see my broadcasting video. I shifted to TURN completely, but still having issues. Users outside of my network can't see my broadcasting video.

@muaz-khan any help?

mozgenn avatar Sep 24 '20 00:09 mozgenn

What rtc server and socket you are using ?

KiltzX avatar Oct 22 '20 11:10 KiltzX

@KiltzX creates our on STURN and TURN servers didn't work with anyone. For socket, we are using socketio(nodeJS) on our separate server.

mozgenn avatar Oct 23 '20 07:10 mozgenn

In my case, i used STURN TURN servers from google : 'stun:stun.l.google.com:19302', 'stun:stun1.l.google.com:19302', 'stun:stun2.l.google.com:19302', 'stun:stun.l.google.com:19302?transport=udp',

try this : var connection = new RTCMultiConnection(); connection.socketURL = YOU_RTC_SERVER + '/'

i newbie in rtc connection, i am developer in one company, we use RTCMultiConnection from Muaz to video call

KiltzX avatar Oct 23 '20 12:10 KiltzX

i recommend you to use signaling server : https://github.com/muaz-khan/RTCMultiConnection-Server

KiltzX avatar Oct 23 '20 13:10 KiltzX

https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

xujingzhou avatar Feb 26 '21 08:02 xujingzhou