seek

open override fun seek(seekPositionMs: Long, seekPreference: SeekPreference?)

When this command is received 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 [C.TIME_UNSET], Seeks to default position in Live Window If seek position is [C.TIME_END_OF_SOURCE], Seeks to edge of Live Window

Parameters

seekPositionMs

content position in milliseconds to which the player's play-head position needs to be moved.

seekPreference

The optional SeekPreference to be used, just for this seek.