WebRTC Server data channel for clients UDP communication. Is this currently possible?

Is it possible to use WebRTC data feeds on Node.js in a way that mimics the functionality of WebSockets other than using UDP?

In essence, I want to have a server running Node.js, with which browser clients can establish a full duplex bidirectional UDP connection via JavaScript.

My question is the same as this one from 8 months ago. I am posting it because the only answer was:

Yes, theoretically you should do it. However, you will need a node module that supports WebRTC data channels so that you can connect to it like any other. Unfortunately, scanning through the current module, I do not see what implements the data channel.

Do any of you know about such a module? In my search, I found several node modules with the words “webrtc” and “datachannel”, but they did not look as needed, they looked as if they were intended for specific needs.

+4
source share
1 answer

, , WebRTC node.js , .

, , ( ), , github:)

+3

Source: https://habr.com/ru/post/1531885/


All Articles