Skip to content

Interface: BufferController ​

The player attaches it once a live stream is ready, and detaches it on destroy() and when the stream turns on-demand. Times are in seconds.

Methods ​

attach() ​

attach(player, sink): void

Parameters ​

player ​

MOQtailPlayer

sink ​

MediaSinkElement

Returns ​

void


backBuffer()? ​

optional backBuffer(): number

Seconds kept behind currentTime; replaces the sink's own backBuffer while attached.

Returns ​

number


detach() ​

detach(): void

Returns ​

void