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.
# 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
- Local file: Stream h264 file to browser and exchange SDP by copy and paste.
- GStreamer: Stream v4l2 source to browser with GStreamer and exchange SDP by libevent HTTP server.
- Recording: Record your screen and save as a file.
- Bidirection: Record your screen and stream v4l2 source to browser