Node.js WebRTC client

后端 未结 8 1255
既然无缘
既然无缘 2020-11-30 23:50

I am looking for a webrtc implementation for node.js
to transmit data from a nodeJS client to another webRTC peer.

So in my case the nodejs appl

8条回答
  •  -上瘾入骨i
    2020-12-01 00:49

    You should check out licode. Their open source webrtc multi-point video conferencing bridge that runs on top of node.js. Their server acts as a webrtc client, which then bridges audio/video to other webrtc clients. You might be able to reuse some of their c++ code that uses libnice(for ICE protocol) and libsrtp(for SRTP stack), and then wrap it inside of your own node.js module to create a successful webrtc client.

    Obviously most of their code you don't need, but I think their server gives a good example of a working SDP that you need to send back to the browser in order to establish a successful webrtc connection.

提交回复
热议问题