Pear is a WebRTC SDK written in C. The SDK aims to integrate IoT/Embedded device video/audio streaming with WebRTC.
- Vdieo/Audio Codec Support
- H264
- G.711 PCM (A-law)
- Opus
- Browser Tested
- Chrome
- Safari
- Edge
- libsrtp
- libnice
- librtp
- httpserver.h (Option)
- cJSON (Option)
# 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
- 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.