{"id":21368627,"url":"https://github.com/liraymond04/webrtc-client","last_synced_at":"2026-04-16T02:32:07.937Z","repository":{"id":247160782,"uuid":"822903149","full_name":"liraymond04/webrtc-client","owner":"liraymond04","description":"A native client library for WebRTC written in C and libdatachannel","archived":false,"fork":false,"pushed_at":"2024-07-11T21:17:44.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-01T22:16:28.229Z","etag":null,"topics":["c","datachannel","libdatachannel","networking","p2p","peer-to-peer","peerconnection","rtcpeerconnection","webrtc","webrtc-client","websocket"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liraymond04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-02T04:06:51.000Z","updated_at":"2025-03-13T01:23:46.000Z","dependencies_parsed_at":"2024-07-11T23:54:39.517Z","dependency_job_id":null,"html_url":"https://github.com/liraymond04/webrtc-client","commit_stats":null,"previous_names":["liraymond04/webrtc-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liraymond04/webrtc-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liraymond04%2Fwebrtc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liraymond04%2Fwebrtc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liraymond04%2Fwebrtc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liraymond04%2Fwebrtc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liraymond04","download_url":"https://codeload.github.com/liraymond04/webrtc-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liraymond04%2Fwebrtc-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31868494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","datachannel","libdatachannel","networking","p2p","peer-to-peer","peerconnection","rtcpeerconnection","webrtc","webrtc-client","websocket"],"created_at":"2024-11-22T07:25:37.987Z","updated_at":"2026-04-16T02:32:07.919Z","avatar_url":"https://github.com/liraymond04.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webrtc-client\n\nA native client library for WebRTC written in C and [libdatachannel](https://github.com/paullouisageneau/libdatachannel) (POSIX only because Windows does not have `\u003cpthread.h\u003e` or `\u003cuuid/uuid.h\u003e`, TODO: use Cygwin or cross-platform alternative libraries)\n\nRequires a signalling server, [rustysignal](https://github.com/liraymond04/rustysignal) is the one I used during testing, and includes custom protocol for rooms used in the `chat` example\n\n## Examples\n\nUse the `-f` to specify a path to a text file with ICE servers, or `-s` with a comma separated list of ICE servers\n\n- `chat`: TUI chat application using ncurses, use the `help` command to see what you can do!\n- `game`: Simple GUI \"game\" using [olc PGE](https://github.com/Moros1138/olcPixelGameEngineC), see your friends shmovin' in real-time (or 60fps, give or take). Use the WASD keys to move around, and use Esc to exit the game.\n\n## Building\n\nPrerequesites are `cmake`, `ninja`, and `gcc`, which you can install with your distribution package manager\n\nEx) Arch Linux\n\n```bash\n$ sudo pacman -S cmake ninja gcc\n```\n\nGenerate CMake build files and start build\n\n```bash\n# You can pass in -DBUILD_EXAMPLES=OFF to only build the library\n# and -DBUILD_STATIC_LIBS=OFF to build as shared library\n$ cmake -B build -G Ninja\n$ cmake --build build\n```\n\nAnd run one of the example applications\n\n```bash\n# Look in the examples folder to see what you can try,\n# the executables should have the same names as their\n# respective source files\n#\n# To pass in ice servers with -s, specify server URLs\n# with the format specified in the libdatachannel docs\n# ex) stun:stun.l.google.com:19302\n# ex) turn:user:pass@turn.example.com:443\n$ ./build/chat -f ice_servers.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliraymond04%2Fwebrtc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliraymond04%2Fwebrtc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliraymond04%2Fwebrtc-client/lists"}