openLiveStream

suspend fun openLiveStream(openToken: String? = null, userId: <Error class: unknown class>? = null, playSessionId: String? = null, maxStreamingBitrate: Int? = null, startTimeTicks: Long? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, maxAudioChannels: Int? = null, itemId: <Error class: unknown class>? = null, enableDirectPlay: Boolean? = null, enableDirectStream: Boolean? = null, alwaysBurnInSubtitleWhenTranscoding: Boolean? = null, data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Opens a media source.

Parameters

openToken

The open token.

userId

The user id.

playSessionId

The play session id.

maxStreamingBitrate

The maximum streaming bitrate.

startTimeTicks

The start time in ticks.

audioStreamIndex

The audio stream index.

subtitleStreamIndex

The subtitle stream index.

maxAudioChannels

The maximum number of audio channels.

itemId

The item id.

enableDirectPlay

Whether to enable direct play. Default: true.

enableDirectStream

Whether to enable direct stream. Default: true.

alwaysBurnInSubtitleWhenTranscoding

Always burn-in subtitle when transcoding.


suspend fun openLiveStream(request: <Error class: unknown class> = OpenLiveStreamRequest(), data: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Opens a media source.

Parameters

request

The request parameters