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]>
This commit is contained in:
Raven Scott
2026-05-21 01:16:44 -04:00
co-authored by Cursor
parent 44b8a80907
commit a1f56dc27b
186 changed files with 39707 additions and 4 deletions
@@ -0,0 +1,21 @@
# API: hyper-p2p-latency-optimizer
**Protocol:** `latency-optimizer/v1`
**Export:** `{ HyperP2PLatencyOptimizer, PROTOCOL }`
## Overview
`HyperP2PLatencyOptimizer` — see [`index.js`](../index.js) for methods, events, and `getStats()`.
## Lifecycle
- `async ready()` — optional Hyperswarm join when `topic` is set
- `async close()` — teardown
- `getStats()` — metrics + `protocol: 'latency-optimizer/v1'`
## Testing
```bash
npm install && npm test
```
@@ -0,0 +1,3 @@
# Architecture: hyper-p2p-latency-optimizer
Part of the **media-streaming** category. Composes with network-stack, core-infrastructure, scheduling, measurement, and trust modules per `MODULE_REGISTRY.yaml`.