Skip to content
/ pear Public
forked from sepfy/libpeer

WebRTC Library for IoT/Embedded Device using C

License

Notifications You must be signed in to change notification settings

guoai2015/pear

 
 

Repository files navigation

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

About

WebRTC Library for IoT/Embedded Device using C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.3%
  • CMake 3.0%
  • Shell 0.7%