Controls whether or not the local client is allowed to instruct the group to play or pause.
Controls whether or not the local client is allowed to seek the group to a new playback position.
Controls whether or not the local client is allowed to change tracks.
Controls whether or not the local client is allowed to change the tracks custom data object.
Returns true if the local client is in a suspended state.
Max amount of playback drift allowed in seconds.
Max amount of playback drift allowed in seconds.
Frequency with which position updates are broadcast to the rest of the group in seconds.
Frequency with which position updates are broadcast to the rest of the group in seconds.
Begins a new local suspension.
Optional. Dynamic wait point to broadcast to all of the clients.
The suspension object. Call end()
on the returned suspension to end the suspension.
Instructs the group to pause the current track.
Instructs the group to play the current track.
Instructs the group to seek to a new position within the current track.
Playback position in seconds to seek to.
Instructs the group to load a new track.
The track to load or null
to indicate that the end of the track is reached.
Optional. List of static wait points to configure for the track. Dynamic wait points can be added via the beginSuspension()
call.
Updates the track data object for the current track.
New data object to sync with the group. This value will be synchronized using a last writer wins strategy.
Generated using TypeDoc
The
LiveMediaSessionCoordinator
tracks the playback & position state of all other clients being synchronized with. It is responsible for keeping the local media player in sync with the group.