Interface: PlayerEvents
Properties
autoplayblocked
autoplayblocked: () =>
void
Returns
void
catalog
catalog: (
catalog) =>void
The catalog element, after the first catalog and every applied update.
Parameters
catalog
Returns
void
client
client: (
client) =>void
The client this player uses, once connected and again before each reconnected.
Parameters
client
Returns
void
ended
ended: () =>
void
Returns
void
error
error: (
error) =>void
Parameters
error
Returns
void
pause
pause: () =>
void
Returns
void
playing
playing: () =>
void
Returns
void
reconnected
reconnected: () =>
void
Returns
void
reconnecting
reconnecting: (
attempt) =>void
Parameters
attempt
number
Returns
void
renditionchange
renditionchange: (
source,rendition) =>void
A source switched to another rendition. Not emitted for the one it starts with: read active from getRenditions().
Parameters
source
rendition
Returns
void
selectionchange
selectionchange: (
source) =>void
A source's selected renditions were set (selectRenditions).
Parameters
source
Returns
void
stalled
stalled: () =>
void
Returns
void
statechange
statechange: (
state,previous) =>void
Parameters
state
previous
Returns
void
streamtypechange
streamtypechange: (
type) =>void
The catalog element's streamType changed.
Parameters
type
Returns
void
timelineevent
timelineevent: (
event) =>void
A record of an opted-in event timeline, on arrival (opts.eventTimelines).
Parameters
event
Returns
void
warning
warning: (
warning) =>void
Parameters
warning
Returns
void