muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.56k stars 1.38k forks source link

video Conference terminates automatically #788

Open imansigupta opened 5 years ago

imansigupta commented 5 years ago

Hey!

In webRTC multiconnection, the video Conference terminates automatically after 45minutes. Is there a way out to resolve it and extend it to two hours or so?

muaz-khan commented 5 years ago

If you try xirsys' TURN-servers (not-free-though) then you will see no disconnection. (for testing purpose only)

My old webrtcweb.com TURN-server was able to keep connection live for more than 1-hour. I was using coTURN. I opened all possible outoging+incoming ports and used webrtcweb.com only for coTURN.

You can disable firewall or open-all-ports in between range used by the coTURN.

Open both TCP and UDP ports.

adilfaiz001 commented 5 years ago

@muaz-khan @imansigupta similar problem occurring to me, i am trying audio conferencing and using coturn for turn server. After making connection for about more than 10 users, randomly users leave from audio conferencing and left the room. For few its shows like there are 6 users and for few its shows different number of users. For 7 to 8 users, connection is stable and working fine, like no users left randomly or anything happen like that. How to setup for about more than 15 users.