how to build multi-user video chatting web app using webRTC, node.js and socket.io

前端 未结 4 2011
长情又很酷
长情又很酷 2021-02-09 18:05

im trying to make a web app that supports multi-user video chatting. ive read an article about webrtc on \"getting started with webrtc\" (http://www.html5rocks.com/en/tutorials

4条回答
  •  猫巷女王i
    2021-02-09 18:32

    I would say that there are two separate things here. WebRTC needs signaling to setup the peer-to-peer communication between two nodes. I think you are on the right track when using Node.js and Socket.js for this.

    But it is not WebRTC (or socket.io) that decides if a third part can join the meeting, it is you that decides this. And this is the other part of the signaling that have little to do with WebRTC.

    This meens that you implement functionality like setting up meetingroom, discover available meetingrooms, joining meetingrooms etc. When the three part meeting is up and running, each node will have two peer connections, one to each of the other nodes.

提交回复
热议问题