Node Client

Are there any actively maintained node.js client libraries for mediasoup? We were using msc-node, but it doesn’t work with mediasoup 3.6 and above and doesn’t appear to be actively maintained. We need a node client for bots we use in our application that proxy for users for testing at scale.

Are you seriously asking if there’s an actively maintained Node.js client for mediasoup? The official mediasoup client exists, works with 3.6+, and is actively maintained. Using msc-node for bots at scale sounds like a recipe for failure—if you want reliable testing at scale, switch to the official client and stop wasting time on abandoned projects.

What’s he means is that that fork of mediasoup-client supports werift-webrtc which is supposed to be a complete WebRTC stack for Node (ICE, DTLS, SRTP, etc).

But rather than looking for a complete fork of mediasoup-client, what he should do is copy&paste the src/handlers/werift.ts handler in the fork, adapt it to make it compatible with latest HandlerInterface class of mediasoup-client and then read the docs of the mediasoup-client Device class constructor or factory() static method which allow passing a handlerFactory argument.

1 Like