A Player controls the playback of a live stream.
Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring
events. Listeners installed using this symbol are called before the regular
'error' listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error' event is emitted, therefore the process will still crash if no
'error' listener is installed.
Array of available Quality objects from the loaded source, or empty if none are currently available. The qualities will be available after the Player transitions to the State.Ready state. Note that this set will contain only qualities capable of being played on the current device and not all those present in the source stream.
For a live stream, the latency to the source in seconds.
The playback position in seconds.
The HTMLVideoElement used to play back the live stream.
The Player's volume level in the range [0.0, 1.0].
Whether the SDK supports the browser. The SDK only supports browsers which are capable of running WebAssembly (WASM).
The SDK's log level.
The SDK version.
Set an HTMLVideoElement to play back the live stream.
The HTMLVideoElement to be used to play back the live stream
The Player encountered an error while playing back the live stream.
A callback that has the Player.Error
The Player's playback quality changed.
A callback that has the updated Player.Quality
A callback called when the event is emitted
The Player's state changed.
A callback that has the new Player.State
The Player received a timed metadata from the live stream source.
A callback that has the Player.TimedMetadata
The Player's video size changed.
A callback that has the new Player.VideoDimensions
The Player's volume level changed.
A callback that has the new volume level
Set the SDK's log level.
Generated using TypeDoc