libdatachannel is a C++ library that implements WebRTC DataChannels and ICE transports, enabling peer-to-peer communication without relying on media components. It is ideal for developers who want efficient, low-latency P2P communication for data transmission in IoT, multiplayer games, decentralized apps, or custom signaling architectures. Built for performance and minimalism, it allows fine-grained control over STUN, TURN, DTLS, and SCTP layers, with a clean and modern C++ interface.
Features
- WebRTC DataChannel implementation in C++
- Built-in ICE, STUN, TURN, and DTLS support
- Low-latency peer-to-peer data communication
- No dependencies on media or UI components
- Simple integration into custom signaling stacks
- Support for SCTP transport for reliable messaging
- Thread-safe and high-performance by design
