MediaSeekOptions
Hierarchy
- MediaSeekOptions
Index
Properties
Properties
Optional
customData
• customData? : undefined | object
Custom application-specific data to pass along with the request.
Optional
infinite
• infinite? : undefined | false | true
Whether seek to end of stream or live.
Optional
position
• position? : undefined | number
The position to seek to, in seconds from the beginning of the stream. Ignored if infinite
is true
.
Optional
relative
• relative? : undefined | false | true
Whether the time interval is relative to the current stream position (true
) or to the beginning of the stream (false
). The default value is false
, indicating an absolute seek position.
Optional
resumeState
• resumeState? : "play" | "pause"
The action to take after the seek operation has finished. If not specified, it will preserve current play state.