|
|
il y a 1 mois | |
|---|---|---|
| cmake-build-debug | il y a 1 mois | |
| examples | il y a 1 mois | |
| include | il y a 1 mois | |
| src | il y a 1 mois | |
| tests | il y a 1 mois | |
| third_party | il y a 1 mois | |
| .clang-format | il y a 1 mois | |
| .gitignore | il y a 1 mois | |
| .gitmodules | il y a 1 mois | |
| CMakeLists.txt | il y a 1 mois | |
| LICENSE | il y a 1 mois | |
| L_RTP.c | il y a 1 mois | |
| README.md | il y a 1 mois | |
| idf_component.yml | il y a 1 mois | |
| test2.pcap | il y a 1 mois |
libpeer is a WebRTC implementation written in C, developed with BSD socket. The library aims to integrate IoT/Embedded device video/audio streaming with WebRTC, such as ESP32 and Raspberry Pi
Build and run the example
$ sudo apt -y install git cmake
$ git clone --recursive https://github.com/sepfy/libpeer
$ cd libpeer
$ cmake -S . -B build && cmake --build build
$ wget http://www.live555.com/liveMedia/public/264/test.264 # Download test video file
$ wget https://mauvecloud.net/sounds/alaw08m.wav # Download test audio file
$ ./examples/generic/sample -u <URL>
Click Connect button on the website