/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 video/audio streaming with WebRTC.

Features

  • Vdieo/Audio Codec Support
    • H264
    • G.711 PCM (A-law)
    • Opus
  • Browser Tested
    • Chrome
    • Safari
    • Edge

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

  • Video On Demand: Stream sigle video file from device to browser.
  • Surveillance: Stream single camera from device to browser.
  • Home Camera: Stream camera video from devcie and two way audio.
  • Screencast: Stream single video content from Browser to device.