cdnbye/hlsjs-p2p-engine
Let your viewers become your unlimitedly scalable CDN. observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 63
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3041
- days_rel: n/a
- days_push: 226
- n_releases_24m: 0
Adoption not part of the score
1073 stars · 175 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library that layers a WebRTC datachannel-based peer-to-peer network on top of hls.js, letting viewers share HLS video segments with each other for live and VOD streams. It acts as a P2P overlay CDN that reduces bandwidth costs and falls back seamlessly to normal server delivery when WebRTC is unavailable.
Use cases
- reduce video streaming CDN bandwidth costs with p2p
- scale live streaming to large audiences without a bigger CDN
- add peer-to-peer HLS streaming to an hls.js player
- integrate p2p video delivery with video.js or JWPlayer
- offload video traffic from origin server during viewership spikes
- deliver VOD streams via webrtc data channels
When to choose
- You already use hls.js or a popular HTML5 player and want P2P offload with minimal code changes
- You have audiences large enough that many peers are online simultaneously
- You want a hybrid setup that keeps your existing CDN, DRM, and encoding pipeline intact
When to avoid
- You need iOS Safari support in this engine (MediaSource unsupported there; use the ServiceWorker variant instead)
- You need fully self-hosted delivery - the tracker/signaling and dashboard are a paid hosted service
- Your audience is small or geographically sparse, so few peers can connect
- You require a permissive license - the repo has no license file
Facets
library · maturity active
p2p streaming webhook sdk media web-development networking frontend browser cross-platform webrtc hls p2p-cdn video-streaming hlsjs live-streaming vod mse cdn-offload video nodejs
5 sources
- readme: https://github.com/cdnbye/hlsjs-p2p-engine · fetched 2026-08-28 · 5db6572826c2
- homepage: https://swarmcloud.net · fetched 2026-08-29 · c14dbfea50ac
- site_page: https://swarmcloud.net/guides/getting-started · fetched 2026-08-29 · e3eafb2644d8
- site_page: https://swarmcloud.net/faq · fetched 2026-08-29 · 2d220a0014fd
- site_page: https://swarmcloud.net/pricing · fetched 2026-08-29 · 55abac9ff0d0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cdnbye/hlsjs-p2p-engine | main | 51 |
For agents
markdown · JSON · MCP: product_card(name="cdnbye/hlsjs-p2p-engine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem