RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

RTCMulticonnection not working on different networks but working on same network.

Open beejuspal opened this issue 4 years ago • 9 comments

beejuspal avatar May 31 '20 07:05 beejuspal

RTCMulticonnection not working on different networks but working on same network i am having the same issue. when i start video brocasting, anyone on the same network is able to see the video broadcast, but people on different network only get to see a white background static video player.

Cintrust avatar Jun 17 '20 18:06 Cintrust

same here, any solution on this?

RobXiong avatar Jun 24 '20 02:06 RobXiong

You will probably need your own TURN/STUN servers

timeuser avatar Jun 25 '20 20:06 timeuser

You can use a free STUN server from Google, but there are no free TURN servers. I use https://xirsys.com/ https://xirsys.com/ for my TURN servers, and it works fine - but costs me $39.-/month, so I’m thinking about installing my own coTURN server sometime soon...

On Jun 25, 2020, at 17:54, Jamie Halmick [email protected] wrote:

You will probably need your own TURN/STUN servers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/muaz-khan/RTCMultiConnection/issues/925#issuecomment-649812333, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNRYRKBMINCKJ32IH3MFEDRYO2Q5ANCNFSM4NPBSNVA.

cdaetwyler avatar Jun 25 '20 21:06 cdaetwyler

Having same problem. anyone have any solve with detail . anyone can help me

pathokdar avatar Jul 01 '20 17:07 pathokdar

I tried changing the servers. i haved tried with turn servers too but it didnt work :/

dialguiba avatar Jul 03 '20 06:07 dialguiba

In my case, I've made an account on xirsys.com, and I've added below codes on my app.

connection.iceServers = [];
connection.push( { urls: 'stun:ss-turn1.xirsys.com' } );
connection.push( {
  urls: 'turn:ss-turn1.xirsys.com:80?transport=udp',
  credential: '****',
  username: '****'
} );

But it seems there is no change about the different network connection.

Is there any else things that I need to do more for the ICEservers....?

KLA6 avatar Jul 15 '20 23:07 KLA6

You can use a free STUN server from Google, but there are no free TURN servers. I use https://xirsys.com/ https://xirsys.com/ for my TURN servers, and it works fine - but costs me $39.-/month, so I’m thinking about installing my own coTURN server sometime soon... On Jun 25, 2020, at 17:54, Jamie Halmick @.***> wrote: You will probably need your own TURN/STUN servers — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#925 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNRYRKBMINCKJ32IH3MFEDRYO2Q5ANCNFSM4NPBSNVA.

Do you mind sharing how you got them to work I dont see their servers in my candidate list :(

PreDeToR avatar Nov 03 '20 11:11 PreDeToR

I guess, It should be something like this:

connection.iceServers = [ { 'urls': [ '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', ], }, { url: 'turn:numb.viagenie.ca', credential: '**********', username: '[email protected]' } ];

zawars avatar Mar 11 '21 14:03 zawars