Skip to content

Class: MlAbrController ​

ABR for live playback: every tick a small neural network picks a switch down, a switch up, a probe or nothing, among the actions legalActions allows.

Implements ​

Constructors ​

Constructor ​

new MlAbrController(tickMs, policy, onDecision?): MlAbrController

Parameters ​

tickMs ​

number

policy ​

Promise<Policy>

onDecision? ​

(decision) => void

Returns ​

MlAbrController

Methods ​

attach() ​

attach(player, sink): void

Parameters ​

player ​

MOQtailPlayer

sink ​

MediaSinkElement

Returns ​

void

Implementation of ​

AbrController.attach


detach() ​

detach(): void

Returns ​

void

Implementation of ​

AbrController.detach