ReadonlyactiveTrue if this buffering controller is active.
ReadonlybufferingTrue if the stream has buffered the last segment.
ReadonlybufferingThe currently buffering media quality. This is set immediately before a segment of a new quality is appended.
Listen to BufferingControllerEventMap.bufferingQualityChange events for changes.
ReadonlyerrorThe last error emitted. Buffering will halt if this controller is in an error state. Deactivating this controller will reset the error state.
ReadonlyplaybackThe currently playing media quality.
Listen to BufferingControllerEventMap.playbackQualityChange events for changes.
Begins buffering.
Clears this object.
Stops buffering.
Returns true if the event host has any listeners.
Returns true if the event host has any listeners for the given type.
Adds an event handler for the given typed event.
The key representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: SignalOptionsOptions for changing listening behavior.
Returns a method, when invoked, removes the handler.
If this controller is in an error state, resets and tries again.
Any object that may be disposed.