seek

abstract fun seek(seekPositionMs: Long, seekPreference: SeekPreference? = null)

When this command is received the Player should trigger the seek of Media Source to the passed position parameter, in milliseconds

- For VOD content, it might be anywhere withing the bounds of content duration - For Live content: If seek position is [TIME_UNSET], seeks to default position in Live Window If seek position is [TIME_END_OF_SOURCE], seeks to edge of Live Window

Parameters

seekPositionMs

position to seek to, in milliseconds.

seekPreference

the SeekPreference to be used for this seek.