Audio and video conferencing with NodeJS

I would like to create a web application that allows two peers to see and hear each other using streaming video and audio with HTML5 and without plugins (except IE, which I pretend to use getUserMediajs to use flash reserve).

I also want to transfer this data using NodeJS , but I don't know where to start. In the example:

Peer A <---> Node JS <---> Peer B

I'm interested in this Peer 2 Server 2 Peer approach instead of a Peer 2 Peer solution like PeerJS , because:

1) I think it will be more compatible with all browsers. If this is not the case, let me know .

2) PeerJS ( which doesn't interest me ) relies on the STUN-TURN-ICE black magic alarm for some cases. I read somewhere that only 70% of connections are suitable for this kind of transfer, and I cannot afford the loss of 30%. Let me know again if this is not entirely true .

I already played with socket.io and I know the concepts of getUserMedia () to get a custom webcam, but I don’t know how to associate this with socket.io and transfer it to another client.

0
source share
2 answers

Flash (, ), :

  • , HTML5. , , . HTML5 , , flash-. , , - HTML , , , .
  • Flash (RTMP, RTMFP,..) webrtc, . , , . OpenClove - , ​​ , .

- Desktop IE Safari webRTC ( flash), "" webRTC. , firefox, opera , webRTC 1.0

( ) ( )

+2

, WebRTC ( " " ). , " " ,

0

All Articles