# Novage/p2p-media-loader

An open-source engine for P2P streaming of live and on demand video directly in a web browser HTML page

Repository: https://github.com/Novage/p2p-media-loader
Canonical: https://ross.abutalabs.com/products/p2p-media-loader
Homepage: https://novage.com.ua/p2p-media-loader/demo.html
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: p2p, hls, dash, hlsjs, shaka-player, video, webtorrent, player, webrtc, bittorrent, p2p-media-loader, mediastream, p2p-network, media-playback, peer
Last push: 2026-08-19T11:30:28+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 2948, "days_push": 14, "days_rel": 14, "gap_med": 22, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1712, forks 342 (observed 2026-08-28T04:05:25.822153+00:00)

## What it is
P2P Media Loader is an open-source JavaScript/TypeScript library that enables peer-to-peer delivery of live and on-demand HLS and MPEG-DASH video directly in the browser using WebRTC and HTML5 video, with no plugins required. It integrates with popular players like HLS.js and Shaka Player to build hybrid P2P CDN networks that offload traffic from origin servers.

## Use cases
- stream live video to many viewers with p2p traffic sharing
- reduce CDN bandwidth costs for video streaming
- build a hybrid p2p CDN for HLS streams
- add peer-to-peer video delivery to a web page
- offload origin server load for VOD streaming
- embed p2p streaming in native iOS and Android apps
- set up p2ptv for large audiences without server software

## When to choose
- you serve HLS or MPEG-DASH video to large audiences and want to cut bandwidth costs
- you need browser-based P2P streaming without plugins, across desktop and mobile
- you use HLS.js or Shaka Player and want drop-in P2P integration
- you want live or VOD streaming with reduced origin/CDN load

## When to avoid
- your audience is very small, so P2P mesh benefits are negligible
- you need DRM-protected streams or strict peer traffic policies
- your environment blocks WebRTC or WebTorrent data channels
- you need non-video file distribution rather than media streaming

## Facets
- artifact type: library
- maturity: active
- function: p2p, web-framework, http-client, video-processing, middleware
- domain: web-development, media, networking, frontend
- platform: browser, cross-platform
- tags: p2p-streaming, hls, mpeg-dash, webrtc, webtorrent, hlsjs, shaka-player, p2p-cdn, video-delivery, typescript, video, web-server, nodejs

## Member repositories
- Novage/p2p-media-loader (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:25.822153+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:34:46.128662+00:00, confidence not recorded.
  - readme: https://github.com/Novage/p2p-media-loader (fetched 2026-08-28T04:05:25.822153+00:00, sha adbaeeef06ef)
  - homepage: https://novage.com.ua/p2p-media-loader/demo.html (fetched 2026-08-29T11:11:12.056109+00:00, sha baf5c78f71da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
