dog-qiuqiu / pear

WebRTC Library for IoT/Embedded Device using C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

WebRTC Library for IoT/Embedded Device using C

License:MIT License


Languages

Language:C 95.7%Language:CMake 3.6%Language:Shell 0.7%