{"id":13603113,"url":"https://github.com/sepfy/libpeer","last_synced_at":"2025-05-14T16:09:54.523Z","repository":{"id":40453590,"uuid":"355422624","full_name":"sepfy/libpeer","owner":"sepfy","description":"WebRTC Library for IoT/Embedded Device using C","archived":false,"fork":false,"pushed_at":"2025-04-05T06:47:19.000Z","size":643,"stargazers_count":1168,"open_issues_count":41,"forks_count":198,"subscribers_count":37,"default_branch":"main","last_synced_at":"2025-04-06T05:04:47.253Z","etag":null,"topics":["c","esp32","h264","iot","linux","raspberry-pi","webrtc"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sepfy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"sepfy95","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-04-07T05:27:20.000Z","updated_at":"2025-04-05T06:47:23.000Z","dependencies_parsed_at":"2023-10-21T12:57:36.954Z","dependency_job_id":"f7a0b883-9dc7-4282-b90f-489a1d95a01e","html_url":"https://github.com/sepfy/libpeer","commit_stats":{"total_commits":207,"total_committers":16,"mean_commits":12.9375,"dds":"0.20772946859903385","last_synced_commit":"6e22529bd82ad87b227fa10e0728446011e4be37"},"previous_names":["sepfy/libpeer","sepfy/pear"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepfy%2Flibpeer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepfy%2Flibpeer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepfy%2Flibpeer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepfy%2Flibpeer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sepfy","download_url":"https://codeload.github.com/sepfy/libpeer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688543,"owners_count":21145763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","esp32","h264","iot","linux","raspberry-pi","webrtc"],"created_at":"2024-08-01T18:01:51.814Z","updated_at":"2025-04-13T08:54:41.488Z","avatar_url":"https://github.com/sepfy.png","language":"C","readme":"# libpeer - Portable WebRTC Library for IoT/Embedded Device\n\n![build](https://github.com/sepfy/pear/actions/workflows/build.yml/badge.svg)\n\nlibpeer 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\n\n### Features\n\n- Vdieo/Audio Codec\n  - H264\n  - G.711 PCM (A-law)\n  - G.711 PCM (µ-law)\n  - OPUS\n- DataChannel\n- STUN/TURN\n- IPV4/IPV6\n- Signaling\n  - [WHIP](https://www.ietf.org/archive/id/draft-ietf-wish-whip-01.html)\n  - MQTT\n\n### Dependencies\n\n* [mbedtls](https://github.com/Mbed-TLS/mbedtls)\n* [libsrtp](https://github.com/cisco/libsrtp)\n* [usrsctp](https://github.com/sctplab/usrsctp)\n* [cJSON](https://github.com/DaveGamble/cJSON.git)\n* [coreHTTP](https://github.com/FreeRTOS/coreHTTP)\n* [coreMQTT](https://github.com/FreeRTOS/coreMQTT)\n\n### Getting Started with Generic Example\n- Copy URL from the test [website](https://sepfy.github.io/libpeer)\n- Build and run the example\n```bash\n$ sudo apt -y install git cmake\n$ git clone --recursive https://github.com/sepfy/libpeer\n$ cd libpeer\n$ cmake -S . -B build \u0026\u0026 cmake --build build\n$ wget http://www.live555.com/liveMedia/public/264/test.264 # Download test video file\n$ wget https://mauvecloud.net/sounds/alaw08m.wav # Download test audio file\n$ ./examples/generic/sample -u \u003cURL\u003e\n```\n- Click Connect button on the website\n\n### Examples for Platforms\n- [ESP32](https://github.com/sepfy/libpeer/tree/main/examples/esp32): MJPEG over datachannel\n- [PICO](https://github.com/sepfy/libpeer/tree/main/examples/pico): Ping pong with datachannel\n- [Raspberry Pi](https://github.com/sepfy/libpeer/tree/main/examples/raspberrypi): Video and two-way audio stream\n","funding_links":["https://ko-fi.com/sepfy95"],"categories":["c","Libraries"],"sub_categories":["C/C++"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepfy%2Flibpeer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepfy%2Flibpeer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepfy%2Flibpeer/lists"}