Files
modules/media-streaming/hyper-p2p-media-chunker/docs/api.md
T
Raven ScottandCursor a1f56dc27b Add media-streaming category with 20 P2P streaming modules.
Introduces peer-assisted live/VOD primitives (chunking, manifests, crazy trees, bandwidth aggregation, FEC, enterprise controls) with shared media-streaming-base, registry entries, and brittle tests. Four core modules ship as production tier; sixteen as scaffold for deepen passes.

Co-authored-by: Cursor <[email protected]>
2026-05-21 01:16:44 -04:00

447 B

API: hyper-p2p-media-chunker

Protocol: media-chunker/v1

Export: { HyperP2PMediaChunker, PROTOCOL }

Overview

HyperP2PMediaChunker — see index.js for methods, events, and getStats().

Lifecycle

  • async ready() — optional Hyperswarm join when topic is set
  • async close() — teardown
  • getStats() — metrics + protocol: 'media-chunker/v1'

Testing

npm install && npm test