OnPlaybackStartRequest

data class OnPlaybackStartRequest(val itemId: UUID, val mediaSourceId: String? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val playMethod: PlayMethod? = null, val liveStreamId: String? = null, val playSessionId: String? = null, val canSeek: Boolean? = false)

Reports that a session has begun playing an item.

Constructors

Link copied to clipboard
constructor(itemId: UUID, mediaSourceId: String? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, playMethod: PlayMethod? = null, liveStreamId: String? = null, playSessionId: String? = null, canSeek: Boolean? = false)

Properties

Link copied to clipboard
val audioStreamIndex: Int? = null

The audio stream index.

Link copied to clipboard
val canSeek: Boolean? = false

Indicates if the client can seek.

Link copied to clipboard

Item id.

Link copied to clipboard
val liveStreamId: String? = null

The live stream id.

Link copied to clipboard
val mediaSourceId: String? = null

The id of the MediaSource.

Link copied to clipboard
val playMethod: PlayMethod? = null

The play method.

Link copied to clipboard
val playSessionId: String? = null

The play session id.

Link copied to clipboard

The subtitle stream index.