Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.31 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.31 KB

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 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