SequencePlayer
Methods
addEventListener
Adds a handler for the specified SequencePlayerEvents event. Use only functions as handlers; anything except a function leads to the error and scenario termination when a handler is called.
Parameters
addMarker
Adds a playback marker to the specified segment. The SequencePlayerEvents.PlaybackMarkerReached event is triggered when the marker is reached.
Parameters
id
Returns the sequence player’s id.
pause
Pauses playback. To continue the playback use the SequencePlayer.resume method.
removeEventListener
Removes a handler for the specified SequencePlayerEvents event.
Parameters
resume
Resumes playback after the SequencePlayer.pause method is called.
sendMediaTo
Starts sending media from the sequence player to the media unit.
Parameters
stop
Stops playback. The current sequence player’s instance with all its segments is destroyed.
stopMediaTo
Stops sending media from the sequence player to the media unit.
Parameters