{"id":19177914,"url":"https://github.com/eyevinn/whpp-client","last_synced_at":"2026-02-13T18:31:37.092Z","repository":{"id":40490708,"uuid":"507393267","full_name":"Eyevinn/whpp-client","owner":"Eyevinn","description":"WebRTC HTTP Playback Protocol client library","archived":false,"fork":false,"pushed_at":"2022-10-20T14:52:56.000Z","size":295,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-24T16:28:11.742Z","etag":null,"topics":["library"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Eyevinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-25T18:52:36.000Z","updated_at":"2023-05-03T00:33:21.000Z","dependencies_parsed_at":"2023-01-19T20:00:15.014Z","dependency_job_id":null,"html_url":"https://github.com/Eyevinn/whpp-client","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Eyevinn/whpp-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Fwhpp-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Fwhpp-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Fwhpp-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Fwhpp-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eyevinn","download_url":"https://codeload.github.com/Eyevinn/whpp-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eyevinn%2Fwhpp-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["library"],"created_at":"2024-11-09T10:35:47.807Z","updated_at":"2026-02-13T18:31:37.074Z","avatar_url":"https://github.com/Eyevinn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WHPP Client Library\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Slack](http://slack.streamingtech.se/badge.svg)](http://slack.streamingtech.se)\n\nA Node / JS library for [WebRTC HTTP Playback Protocol](https://github.com/Eyevinn/webrtc-http-playback-protocol/blob/master/webrtc-http-playback-protocol.md)\n\nFor more information about WHIP and WHPP read [this blog post](https://medium.com/@eyevinntechnology/whip-whpp-for-webrtc-based-broadcast-streaming-2cf469e95299).\n\n## Usage\n\n```\nnpm install --save @eyevinn/whpp-client\n```\n\nExample on how to implement the WHPP library in browser.\n\n```javascript\nimport { WHPPClient } from \"@eyevinn/whpp-client\";\n\nconst video = document.querySelector(\"video\");\nconst peer = new RTCPeerConnection({ iceServers: [{ urls: \"stun:stun.l.google.com:19302\" }] });\npeer.ontrack = (ev) =\u003e {\n  if (ev.streams \u0026\u0026 ev.streams[0]) {\n    video.srcObject = ev.streams[0];\n  }\n};\nconst client = new WHPPClient(peer, \"http://localhost:8001/broadcaster/channel/test\");\nawait client.connect();\n\n```\n\n## Options\n\n```\n{\n  debug?: boolean; // Use debug logging\n  noIceTrickle?: boolean; // Wait for all ICE candidates to be gathered\n  timeout?: number; // Timeout for gathering ICE candidates\n  useLegacyContentType?: boolean; // WHPP endpoints that does not support the `whpp+json` content type\n}\n```\n\n## Examples\n\n| Example | Description | Source |\n| ------- | ----------- | ------ |\n| `npm run example:web` | WHPP implementation in browser | `examples/web.html` |\n\n## Support\n\nJoin our [community on Slack](http://slack.streamingtech.se) where you can post any questions regarding any of our open source projects. Eyevinn's consulting business can also offer you:\n\n- Further development of this component\n- Customization and integration of this component into your platform\n- Support and maintenance agreement\n\nContact [sales@eyevinn.se](mailto:sales@eyevinn.se) if you are interested.\n\n## About Eyevinn Technology\n\nEyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor.\n\nAt Eyevinn, every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This give us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community.\n\nWant to know more about Eyevinn and how it is to work here. Contact us at work@eyevinn.se!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyevinn%2Fwhpp-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyevinn%2Fwhpp-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyevinn%2Fwhpp-client/lists"}