Skip to content

seemk/WebUDP

Repository files navigation

WebUDP

WebRTC datachannel library and server

The library implements a minimal subset of WebRTC to achieve unreliable and out of order UDP transfer for browser clients. See the echo server example for how to connect to the server from a browser. The core library (Wu) is platform independent. Refer to WuHostEpoll or WuHostNode for platform-specific usage.

Building

mkdir build && cd build
cmake ..
make

Host platforms

  • Linux (epoll)
  • Node.js -DWITH_NODE=ON

Issues

  • Firefox doesn't connect to a server running on localhost. Bind a different interface.