Skip to content

ayamir/webdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDC

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 EchoServer for how to connect to the server from a browser. The core library (Dc) is platform independent. Refer to HostEpoll for linux-platform usage.

Example

The EchoServer should listen the public IP directly.

image-20240227110417430

image-20240221215854419

Developing

bash ./generate_clangd.sh # generate .clangd file for clangd-based editor

Building

Build passed on Ubuntu18.04 with openssl 1.1.1.

mkdir build && cd build
cmake ..
make -j

Todo

  • user data fragmentation
  • ordered transmission
  • reliable transmission
  • multi-stream multiplexing

About

Minimal WebRTC DataChannel Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published