Expand media, trust, encoding, consensus, and scheduling APIs
Add buffer health, graph clearing, codec registry counts, bitfield queue helpers, causal consensus listing, cron job utilities, and oracle feed management helpers. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -81,6 +81,20 @@ class HyperP2PAdaptiveStreamingEngine extends EventEmitter {
|
||||
return this._recommendation
|
||||
}
|
||||
|
||||
bufferMs () {
|
||||
return this._bufferMs
|
||||
}
|
||||
|
||||
setBufferMs (ms) {
|
||||
this._bufferMs = Math.max(0, ms | 0)
|
||||
this._recompute()
|
||||
return this._bufferMs
|
||||
}
|
||||
|
||||
swarmHealth () {
|
||||
return this._swarmHealth
|
||||
}
|
||||
|
||||
setTargetFps (fps) {
|
||||
this.targetFps = Math.max(1, fps | 0)
|
||||
return this.targetFps
|
||||
|
||||
Reference in New Issue
Block a user