javascriptwebrtcrtcmulticonnection

How can i use socket.io to increase performance of RTC multi Connection using JavaScript?


I am using below socket.js file and port, but it freezes computer after 4-5 user comes in video conferencing.

Socket url is,

https://rtcmulticonnection.herokuapp.com/socket.io/socket.io.js

and Port is,

https://rtcmulticonnection.herokuapp.com:443/

should i use above socket and port, OR need to create own socket.io in web server. i am using rtc multi Connection method for video conferencing. how to sort-out this issue, can someone knows this issue.


Solution

  • There are video APIs that exist that will make this a lot easier than building it from scratch. daily-js does this, for example, and then you don't have to worry about handling all the edge cases across devices and browsers yourself for WebRTC.

    There are a bunch of tutorials and a webinar guide on the blog too if you're looking for some direction.