Node.js WebRTC client

后端 未结 8 1237
既然无缘
既然无缘 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条回答
  • 2020-12-01 00:45

    I came along the same problem and stumbled upon these two gems:

    https://github.com/helloIAmPau/node-rtc Sadly it is lacking any documentation.

    However https://github.com/js-platform/node-webrtc seems more reliable to me.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题