feat(media-streaming): deepen telemetry, ledger, and orchestrator

Session history and stall ranking, contribution percentile snapshots,
enterprise region SLA helpers, and latency target configuration.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:31:03 -04:00
co-authored by Cursor
parent 4b65b75327
commit 4f01d2231a
5 changed files with 57 additions and 2 deletions
@@ -72,6 +72,11 @@ class HyperP2PLatencyOptimizer extends EventEmitter {
return glass <= this.targetGlassMs
}
setTargetGlassMs (ms) {
this.targetGlassMs = Math.max(100, ms | 0)
return this.targetGlassMs
}
getStats () {
return mediaStats(this._stats, PROTOCOL, { paths: this._paths.size })
}