Skip to content
Minimal WebRTC datachannel server
Branch: master
Clone or download
Latest commit 052acc5 Oct 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Update node host to the new API. Update node dependencies. Fix unnece… Oct 2, 2018
test Add fuzz tests. Dec 30, 2017
.gitignore Update CMakeLists for Node bindings. Add sendText to Node host. Dec 28, 2017
CHANGELOG.md 0.5.0 Oct 27, 2018
CMakeLists.txt Increase minimum CMake version for VERSION_GREATER_EQUAL support. Oct 27, 2018
CRC32.cpp Fix formatting and warnings. Jul 16, 2018
CRC32.h
LICENSE Create LICENSE Aug 7, 2017
README.md
Wu.cpp Fix compilation with g++ 7 Oct 6, 2018
Wu.h Update node host to the new API. Update node dependencies. Fix unnece… Oct 2, 2018
WuArena.cpp Transfer files. May 15, 2017
WuArena.h
WuBufferOp.h Fix formatting and warnings. Jul 16, 2018
WuClock.h Transfer files. May 15, 2017
WuCrypto.cpp Remove WuCert as a member of Wu. Jan 1, 2018
WuCrypto.h Fix formatting and warnings. Jul 16, 2018
WuHost.h Update node host to the new API. Update node dependencies. Fix unnece… Oct 2, 2018
WuHostEpoll.cpp Update node host to the new API. Update node dependencies. Fix unnece… Oct 2, 2018
WuHostNode.cpp Update node host to the new API. Update node dependencies. Fix unnece… Oct 2, 2018
WuHostNull.cpp Move host backend file selection to CMake. Jan 1, 2018
WuHttp.h Fix potential out of bounds read when sending SDP response. Jul 16, 2018
WuMath.h Fix potential segfault when reaching maximum clients. Simplify connec… Jul 19, 2017
WuNetwork.cpp Add optional error callback. Jul 22, 2017
WuNetwork.h Fix potential segfault when reaching maximum clients. Simplify connec… Jul 19, 2017
WuPool.cpp
WuPool.h Transfer files. May 15, 2017
WuQueue.cpp
WuQueue.h Improve CMake config. Jul 18, 2017
WuRng.cpp Transfer files. May 15, 2017
WuRng.h Fix formatting and warnings. Jul 16, 2018
WuSctp.cpp Remove unused function. Jan 1, 2018
WuSctp.h Remove unused function. Jan 1, 2018
WuSdp.cpp Switch to a newer SDP format. Oct 27, 2018
WuSdp.h Fix UDP send. Dec 13, 2017
WuString.cpp Fix potential segfault when reaching maximum clients. Simplify connec… Jul 19, 2017
WuString.h Fix potential segfault when reaching maximum clients. Simplify connec… Jul 19, 2017
WuStun.cpp Fix formatting and warnings. Jul 16, 2018
WuStun.h Fix formatting and warnings. Jul 16, 2018
binding.gyp.in Fix CMake warnings. Reject OpenSSL 1.1. Oct 6, 2018
package.json Update node host to the new API. Update node dependencies. Fix unnece… Oct 2, 2018
picohttpparser.c Transfer files. May 15, 2017
picohttpparser.h Transfer files. May 15, 2017

README.md

WebUDP

WebRTC datachannel library and server

Echo server demo (Chrome, Firefox, Safari 11+)

The library implements a minimal subset of WebRTC to achieve unreliable and out of order UDP transfer for browser clients. The core library (Wu) is platform independent. Refer to WuHostEpoll or WuHostNode for 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.
You can’t perform that action at this time.