|
|
1 miesiąc temu | |
|---|---|---|
| cmake-build-debug | 1 miesiąc temu | |
| examples | 1 miesiąc temu | |
| include | 1 miesiąc temu | |
| src | 1 miesiąc temu | |
| tests | 1 miesiąc temu | |
| third_party | 1 miesiąc temu | |
| .clang-format | 1 miesiąc temu | |
| .gitignore | 1 miesiąc temu | |
| .gitmodules | 1 miesiąc temu | |
| CMakeLists.txt | 1 miesiąc temu | |
| LICENSE | 1 miesiąc temu | |
| L_RTP.c | 1 miesiąc temu | |
| README.md | 1 miesiąc temu | |
| idf_component.yml | 1 miesiąc temu | |
| test2.pcap | 1 miesiąc temu |
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