GetUniversalAudioStreamRequest

data class GetUniversalAudioStreamRequest(val itemId: UUID, val container: Collection<String>? = null, val mediaSourceId: String? = null, val deviceId: String? = null, val userId: UUID? = null, val audioCodec: String? = null, val maxAudioChannels: Int? = null, val transcodingAudioChannels: Int? = null, val maxStreamingBitrate: Int? = null, val audioBitRate: Int? = null, val startTimeTicks: Long? = null, val transcodingContainer: String? = null, val transcodingProtocol: MediaStreamProtocol? = null, val maxAudioSampleRate: Int? = null, val maxAudioBitDepth: Int? = null, val enableRemoteMedia: Boolean? = null, val enableAudioVbrEncoding: Boolean? = true, val breakOnNonKeyFrames: Boolean? = false, val enableRedirection: Boolean? = true)

An audio stream.

Constructors

Link copied to clipboard
constructor(itemId: UUID, container: Collection<String>? = null, mediaSourceId: String? = null, deviceId: String? = null, userId: UUID? = null, audioCodec: String? = null, maxAudioChannels: Int? = null, transcodingAudioChannels: Int? = null, maxStreamingBitrate: Int? = null, audioBitRate: Int? = null, startTimeTicks: Long? = null, transcodingContainer: String? = null, transcodingProtocol: MediaStreamProtocol? = null, maxAudioSampleRate: Int? = null, maxAudioBitDepth: Int? = null, enableRemoteMedia: Boolean? = null, enableAudioVbrEncoding: Boolean? = true, breakOnNonKeyFrames: Boolean? = false, enableRedirection: Boolean? = true)

Properties

Link copied to clipboard
val audioBitRate: Int? = null

Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.

Link copied to clipboard
val audioCodec: String? = null

Optional. The audio codec to transcode to.

Link copied to clipboard

Optional. Whether to break on non key frames.

Link copied to clipboard

Optional. The audio container.

Link copied to clipboard
val deviceId: String? = null

The device id of the client requesting. Used to stop encoding processes when needed.

Link copied to clipboard

Optional. Whether to enable Audio Encoding.

Link copied to clipboard

Whether to enable redirection. Defaults to true.

Link copied to clipboard

Optional. Whether to enable remote media.

Link copied to clipboard

The item id.

Link copied to clipboard
val maxAudioBitDepth: Int? = null

Optional. The maximum audio bit depth.

Link copied to clipboard
val maxAudioChannels: Int? = null

Optional. The maximum number of audio channels.

Link copied to clipboard
val maxAudioSampleRate: Int? = null

Optional. The maximum audio sample rate.

Link copied to clipboard

Optional. The maximum streaming bitrate.

Link copied to clipboard
val mediaSourceId: String? = null

The media version id, if playing an alternate version.

Link copied to clipboard
val startTimeTicks: Long? = null

Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.

Link copied to clipboard

Optional. The number of how many audio channels to transcode to.

Link copied to clipboard

Optional. The container to transcode to.

Link copied to clipboard

Optional. The transcoding protocol.

Link copied to clipboard
val userId: UUID? = null

Optional. The user id.