{"id":13766751,"url":"https://github.com/cdnbye/hlsjs-p2p-engine","last_synced_at":"2025-05-14T09:08:53.030Z","repository":{"id":41225895,"uuid":"132340238","full_name":"cdnbye/hlsjs-p2p-engine","owner":"cdnbye","description":"Let your viewers become your unlimitedly scalable CDN.","archived":false,"fork":false,"pushed_at":"2024-11-07T07:41:44.000Z","size":1863,"stargazers_count":1051,"open_issues_count":5,"forks_count":176,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-04-06T04:01:37.289Z","etag":null,"topics":["cdn","cdnbye","hls","html5","live","mse","p2p","p2p-cdn","p2p-video-streaming","pcdn","peer","player","video","vod","webrtc"],"latest_commit_sha":null,"homepage":"https://swarmcloud.net","language":null,"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/cdnbye.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":"2018-05-06T13:19:31.000Z","updated_at":"2025-03-31T12:41:58.000Z","dependencies_parsed_at":"2023-02-18T16:15:47.176Z","dependency_job_id":"ce702f75-eb2f-431b-afac-150f4f8fff31","html_url":"https://github.com/cdnbye/hlsjs-p2p-engine","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnbye%2Fhlsjs-p2p-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnbye%2Fhlsjs-p2p-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnbye%2Fhlsjs-p2p-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdnbye%2Fhlsjs-p2p-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdnbye","download_url":"https://codeload.github.com/cdnbye/hlsjs-p2p-engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675809,"owners_count":21143818,"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":["cdn","cdnbye","hls","html5","live","mse","p2p","p2p-cdn","p2p-video-streaming","pcdn","peer","player","video","vod","webrtc"],"created_at":"2024-08-03T16:01:00.455Z","updated_at":"2025-04-13T07:19:41.571Z","avatar_url":"https://github.com/cdnbye.png","language":null,"funding_links":[],"categories":["HarmonyOS","Others","webrtc","Infrastructure \u0026 Delivery"],"sub_categories":["Windows Manager"],"readme":"**English | [简体中文](Readme_zh.md)**\r\n\r\n\u003ch1 align=\"center\"\u003e\u003ca href=\"\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg width=\"250\" src=\"https://www.cdnbye.com/logo.png\" alt=\"cdnbye logo\"\u003e\u003c/a\u003e\u003c/h1\u003e\r\n\u003ch4 align=\"center\"\u003eLet your viewers become your unlimitedly scalable CDN.\u003c/h4\u003e\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://www.npmjs.com/package/cdnbye\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/cdnbye.svg?style=flat\" alt=\"npm\"\u003e\u003c/a\u003e\r\n  \u003ca href=\"https://www.jsdelivr.com/package/npm/cdnbye\"\u003e\u003cimg src=\"https://data.jsdelivr.com/v1/package/npm/cdnbye/badge\" alt=\"jsdelivr\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\nCDNBye hlsjs-p2p-engine implements [WebRTC](https://en.wikipedia.org/wiki/WebRTC) datachannel to scale live/vod video streaming by peer-to-peer network using bittorrent-like protocol. The forming peer network can be layed over other CDNs or on top of the origin server. Powered by [hls.js](https://github.com/video-dev/hls.js), it can play HLS on any platform with many popular HTML5 players such as video.js, JWPlayer and Flowplayer.\r\n\r\n## Features\r\n- WebRTC data channels for lightweight peer-to-peer communication with no plugins\r\n- Support live and VOD streams over HLS protocol(m3u8)\r\n- Support encrypted HLS stream\r\n- Very easy to integrate with an existing hls.js project\r\n- Seamlessly fallback to normal server usage if a browser doesn't support WebRTC\r\n- Compatible with all CDNs, agnostic to DRM and video codecs. No service side changes required.\r\n- Support most popular HTML5 players such as video.js、Clappr、Flowplayer\r\n- Efficient scheduling policies to enhance the performance of P2P streaming\r\n- Use IP database to group up peers by ISP and regions\r\n\r\n## Playground\r\n[Click me!](https://demo.cdnbye.com/)\r\n\r\n## Browser Support\r\nWebRTC has already been incorporated into the HTML5 standard and it is broadly deployed in modern browsers. The compatibility of CDNBye depends on the browser support of WebRTC and Hls.js. Please note that iOS Safari \"Mobile\" does not support the MediaSource API.\r\n\r\n Compatibility|Chrome | Firefox | macOS Safari| Android Wechat/QQ | Opera | Edge | IE | iOS Safari | \r\n:-: | :-: | :-: | :-: | :-: | :-: | :-:| :-:| :-:\r\nWebRTC Datachannel | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | ✔ |\r\nHls.js | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ |\r\nCDNBye | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | ❌ |\r\n\r\n## Usage\r\nSee [documentation](https://docs.swarmcloud.net/web-hls)\r\n\r\n## Player Integration\r\nSupport almost all web players, click [here](https://docs.swarmcloud.net/web-hls/players) for more information.\r\n\r\n## API and Configuration\r\nSee [API.md](https://docs.swarmcloud.net/web-hls/API)\r\n\r\n## Console\r\nRegister your domain in [dashboard](https://dash.swarmcloud.net), where you can view p2p-related information.\r\n\r\n## Related Projects\r\n- [hls-sw-p2p-engine](https://github.com/swarm-cloud/hls-sw-p2p-engine) - Live/VOD P2P Engine for all browsers including iOS Safari, with the help of ServiceWorker.\r\n- [android-p2p-engine](https://github.com/cdnbye/android-p2p-engine) - Live/VOD P2P Engine for Android and Android TV.\r\n- [ios-p2p-engine](https://github.com/cdnbye/ios-p2p-engine) - iOS Video P2P Engine for Any Player.\r\n- [flutter-p2p-engine](https://github.com/cdnbye/flutter-p2p-engine) - Live/VOD P2P Engine for Flutter, contributed by [mjl0602](https://github.com/mjl0602).\r\n- [shaka-p2p-engine](https://github.com/cdnbye/shaka-p2p-engine) - P2P engine for Shaka Player.\r\n- [dashjs-p2p-engine](https://github.com/cdnbye/dashjs-p2p-engine) - Web Video Delivery Technology with No Plugins for MPEG-dash.\r\n- [mp4-sw-p2p-engine](https://github.com/swarm-cloud/mp4-sw-p2p-engine) - Web Video Delivery Technology for MP4.\r\n\r\n\u003c!--\r\n## They are using CDNBye\r\n\u003ctable\u003e\r\n    \u003ctr\u003e\r\n        \u003ctd \u003e\u003ccenter\u003e \u003ca target=\"_blank\" href=\"https://wstream.video/\"\u003e\u003cimg src=\"https://cdnbye.oss-cn-beijing.aliyuncs.com/pic/wstream.png\" width=\"120\"\u003e\u003c/a\u003e\u003c/center\u003e\u003c/td\u003e\r\n        \u003ctd \u003e\u003ccenter\u003e \u003ca target=\"_blank\" href=\"https://cyclingentertainment.stream/\"\u003e\u003cimg src=\"https://cdnbye.oss-cn-beijing.aliyuncs.com/pic/%20cyclingentertainment.png\" width=\"120\"\u003e\u003c/a\u003e\u003c/center\u003e\u003c/td\u003e\r\n    \u003c/tr\u003e\r\n\u003c/table\u003e\r\n--\u003e\r\n\r\n## FAQ\r\nWe have collected some [frequently asked questions](https://docs.swarmcloud.net/faq). Before reporting an issue, please search if the FAQ has the answer to your problem.\r\n\r\n## Contact Us\r\nEmail: service@cdnbye.com\r\n\u003cbr\u003e\r\nSkype: live:86755838\r\n\u003cbr\u003e\r\nTelegram: @cdnbye\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdnbye%2Fhlsjs-p2p-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdnbye%2Fhlsjs-p2p-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdnbye%2Fhlsjs-p2p-engine/lists"}