Deepen all 20 media-streaming modules with expanded APIs and tests.

Add batch ingest, tree depth/path, peer scoring helpers, scheduler peek, FEC and ABR controls, telemetry sessions, and richer production api.md for bandwidth-aggregator and media-tree-orchestrator.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 01:20:48 -04:00
co-authored by Cursor
parent a1f56dc27b
commit ad3fc106f1
34 changed files with 404 additions and 11 deletions
@@ -9,5 +9,7 @@ test('pick top peers', async (t) => {
m.registerPeer('a', { uploadBps: 1_000_000, rttMs: 30, stability: 0.9 })
m.registerPeer('b', { uploadBps: 10_000_000, rttMs: 20, stability: 0.95 })
t.is(m.pickTop(1)[0].peerId, 'b')
m.updatePeer('a', { uploadBps: 20_000_000 })
t.ok(m.peersAboveScore(0.5).length >= 1)
await m.close()
})