Skip to content
forked from sepfy/libpeer

WebRTC Library for IoT/Embedded Device using C

License

Notifications You must be signed in to change notification settings

BrentHuang/libpeer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libpeer - Portable WebRTC Library for IoT/Embedded Device

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
$ sudo pip install jsonschema
$ git clone --recursive https://github.com/sepfy/libpeer
$ cd libpeer
$ mkdir build
$ cd build
$ 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

todo 加入 rtcp 控制协议,推流端也要根据控制信息做一些逻辑

sepfy#43 sepfy#26 https://github.com/seekfor/libqos

About

WebRTC Library for IoT/Embedded Device using C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.7%
  • CMake 1.3%