Creates a new MediaElementSynchronizer
instance.
Media player element. This can be an HTML Media Element or any player that looks like an HTML Media Element.
Group MediaSession object being used.
Optional. Function to call when synchronizers end()
method is called.
Synchronizers media session.
Media player being synchronized.
If true the client is in a view only mode.
If true the client is in a view only mode.
Volume limiter used to temporarily reduce the videos volume when someone speaks in a meeting.
Registers a new event listener.
Name of the event to add.
Function to call when the event is triggered.
Begin a local seek operation.
Ends synchronization of the current media player.
Ends a seek operation that was started by calling beginSeek()
.
Playback position in seconds to seek the group to.
Tells the group to pause the current video.
Tells the group to begin playing the current video.
Un-registers an existing event listener.
Name of the event to remove.
Function that was registered in call to addEventListener()
.
Tells the group to seek the current video to a new playback position.
Tells the group to change to a new track.
Updates the current tracks data object.
Generated using TypeDoc
Synchronizes a local HTML Media Element with a group of remote HTML Media Elements.
All of an apps transport control commands should be routed through the synchronizer. If the app is not currently joined to the group media session, the commands will be applied directly to the local player. When the group session is joined the commands will be broadcast to the group in addition to being applied to the local player.