Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.68 KB

README.md

File metadata and controls

49 lines (40 loc) · 1.68 KB

libpeer fork with ESP32-Cam Support - Portable WebRTC Library for IoT/Embedded Device

Checkout the new fork example: https://github.com/sharonLmao/libpeer/tree/main/examples/esp32

pear-ci

libpeer is a WebRTC implementation written in C, developed with BSD socket. The library aims to integrate IoT/Embedded device video/audio streaming with WebRTC, such as ESP32 and Raspberry Pi

Features

  • Vdieo/Audio Codec
    • H264
    • G.711 PCM (A-law)
    • G.711 PCM (µ-law)
    • OPUS
  • DataChannel
  • STUN/TURN
  • Signaling

Dependencies

Getting Started

$ sudo apt -y install git cmake
$ git clone --recursive https://github.com/sepfy/libpeer
$ cd libpeer
$ ./build-third-party.sh
$ mkdir cmake
$ cd cmake
$ cmake ..
$ make
$ wget http://www.live555.com/liveMedia/public/264/test.264 # Download test video file
$ wget https://mauvecloud.net/sounds/alaw08m.wav # Download test audio file
$ ./examples/sample/sample

Examples