/pear

WebRTC Library for IoT/Embedded Device using C

Primary LanguageCMIT LicenseMIT

Pear - WebRTC Toolkit for IoT/Embedded Device

pear-ci

Pear is a WebRTC SDK written in C. The SDK aims to integrate IoT/Embedded device with WebRTC applications.

Notice: This project is a work in progress. Currently, only support streaming H264 video or OPUS audio to browser.

Dependencies

Getting Started

# sudo apt -y install libglib2.0-dev libssl-dev git cmake ninja-build
# sudo pip3 install meson
# git clone --recursive https://github.com/sepfy/pear
# ./build-third-party.sh
# mkdir cmake
# cd cmake
# cmake ..
# make

Examples

  • Local file: Stream h264 file to browser and exchange SDP by copy and paste.
  • GStreamer: Stream v4l2 source to browser with GStreamer and exhange SDP by libevent HTTP server.