Files
modules/media-streaming/hyper-p2p-chunk-scheduler-media/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

485 B

API: hyper-p2p-chunk-scheduler-media

Protocol: chunk-scheduler-media/v1

Export: { HyperP2PChunkSchedulerMedia, PROTOCOL }

Overview

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

Lifecycle

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

Testing

npm install && npm test