3 ms·
Nice!! Would creating WebRTC data channel be possible? server side SCTP to client(p2p over SCTP/data channel) would be cool.
by iAm25626 10y ago
Nice!! Would creating WebRTC data channel be possible?
server side SCTP to client(p2p over SCTP/data channel) would be cool.
- stcredzero 10y agoIt's already possible. I'm using webrtc and node-electron to connect a golang server for my MMO project. I have a farm of 4 nodejs processes running under tmux acting as proxies for unreliable communications. https://www.emergencevector.com https://www.emergencevector.com
- unmole 10y agoWhich WebRTC library are you using on the golang server? Last time I looked, I couldn't find anything stable.
- stcredzero 10y agoI am using electron-webrtc. You need xvfb installed. I was able to get this running under node, but only running the processes under tmux. You will also need to install some random shared libraries Chromium needs, but which node-electron doesn't install, but these are obvious from error messages. Then I'm using simple-peer on top of that. There's also a library for UDP communications from the node process to the golang process.