Should set the playback speed of the player. Slow motion is used by values between 0 and 1, fast forward by values greater than 1.
A playback rate greater than 0
Should seek to the given playback time specified by the parameter time in milliseconds.
The position to seek to in ms
Should return the current playback time in milliseconds.
Should return the current live edge time in milliseconds, i.e. maximum reachable position by the player. Only for live streams.
Should return the current playback speed of the player. 1 is the default playback speed, values between 0 and 1 refer to slow motion and values greater than 1 refer to fast forward.
Defines the playback rate adjustments limit, i.e what min and max playback rate values can be used while syncing.
Defines the synchronization threshold in milliseconds, i.e what delta counts as 100% synchronization. Default is 25ms.
Defines the seeking threshold in milliseconds, i.e delta's upper bound when to stop playback rate manipulations and use seek if PlayerDecorator.isSeekable returns true
.
Should return true
if the player is currently playing, i.e. has started and is not paused.
Should indicate if seeking is possible or not, i.e only playback rate manipulations should be used for syncing. Default is true
.
Should return true
if the player is currently stalling due to an empty buffer.
This method is called on synchronization start SyncSDK.startSynchronize.
Should mute player.
Should pause playback.
Should start playback.
Should set the player’s volume in the range of 0 (silent) to 1 (max volume). Should unmute a muted player.
The volume to set between 0 and 1
This method is called on synchronization stop SyncSDK.stopSynchronize.
Should unmute player.
Player instance that is saved to
this.player
for further usage