libpeer is a portable WebRTC implementation written in C for IoT and embedded devices.
The library is intended to make it practical for small devices to send video, audio or arbitrary data directly to WebRTC endpoints. Supported targets include Linux systems such as the Raspberry Pi as well as microcontroller platforms including ESP32 and Raspberry Pi Pico.
libpeer uses conventional BSD sockets and keeps its external dependencies relatively small, making it suitable for applications where a complete desktop-oriented WebRTC implementation would be unnecessarily heavy.
This is free and open source software.
Key Features
- WebRTC implementation written in C.
- H.264 video support.
- Opus audio.
- G.711 A-law and µ-law audio.
- WebRTC DataChannels.
- STUN and TURN.
- IPv4 and IPv6.
- WHIP signalling.
- MQTT signalling.
- ESP32 examples.
- Raspberry Pi video and two-way audio example.
- Raspberry Pi Pico DataChannel example.
Website: github.com/sepfy/libpeer
Support:
Developer: sepfy
License: MIT License
libpeer is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| WebRTC Tools | |
|---|---|
| mediasoup | Server-side WebRTC library, specifically a Selective Forwarding Unit (SFU |
| Pion | Modern stack for web real-time communication |
| Neko | Self-hosted virtual browser for collaborative browsing and remote access |
| MediaMTX | Live media server and proxy supporting multiple streaming protocols |
| Jitsi | Innovative voice and video conferencing |
| LiveKit | End-to-end stack for WebRTC |
| SRS | Real-time media server |
| OpenVidu | Platform to develop WebRTC real-time applications |
| Janus | Gneral purpose WebRTC server |
| BigBlueButton | Virtual classroom platform |
| aiortc | Library for WebRTC and ORTC |
| MiroTalk SFU | Self-hosted WebRTC videoconferencing platform |
| MiroTalk P2P | Self-hosted WebRTC video conferencing application |
| coturn | Implementation of TURN and STUN Server |
| Galene | Easy to deploy videoconference server |
| Nextcloud Talk | Chat, video and audio calls for Nextcloud |
| Broadcast Box | Low-latency WebRTC broadcasting and screen sharing |
| Selkies | Remote desktop and application streaming platform |
| libpeer | Portable WebRTC library for IoT/embedded devices |
| libdatachannel | WebRTC network library |
| Kurento | WebRTC media server |
| str0m | Sans I/O WebRTC implementation |
| Elixir WebRTC | Elixir implementation of the W3C WebRTC API |
| Gryt | Self-hostable, WebRTC-based voice communication app |
| PairUX | Collaborative screen sharing with simultaneous remote control |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.