GetAudioStreamByContainerRequest

data class GetAudioStreamByContainerRequest(val itemId: UUID, val container: String, val static: Boolean? = null, val params: String? = null, val tag: String? = null, val playSessionId: String? = null, val segmentContainer: String? = null, val segmentLength: Int? = null, val minSegments: Int? = null, val mediaSourceId: String? = null, val deviceId: String? = null, val audioCodec: String? = null, val enableAutoStreamCopy: Boolean? = null, val allowVideoStreamCopy: Boolean? = null, val allowAudioStreamCopy: Boolean? = null, val breakOnNonKeyFrames: Boolean? = null, val audioSampleRate: Int? = null, val maxAudioBitDepth: Int? = null, val audioBitRate: Int? = null, val audioChannels: Int? = null, val maxAudioChannels: Int? = null, val profile: String? = null, val level: String? = null, val framerate: Float? = null, val maxFramerate: Float? = null, val copyTimestamps: Boolean? = null, val startTimeTicks: Long? = null, val width: Int? = null, val height: Int? = null, val videoBitRate: Int? = null, val subtitleStreamIndex: Int? = null, val subtitleMethod: SubtitleDeliveryMethod? = null, val maxRefFrames: Int? = null, val maxVideoBitDepth: Int? = null, val requireAvc: Boolean? = null, val deInterlace: Boolean? = null, val requireNonAnamorphic: Boolean? = null, val transcodingMaxAudioChannels: Int? = null, val cpuCoreLimit: Int? = null, val liveStreamId: String? = null, val enableMpegtsM2TsMode: Boolean? = null, val videoCodec: String? = null, val subtitleCodec: String? = null, val transcodeReasons: String? = null, val audioStreamIndex: Int? = null, val videoStreamIndex: Int? = null, val context: EncodingContext? = null, val streamOptions: Map<String, String?>? = null, val enableAudioVbrEncoding: Boolean? = true)

An audio stream.

Constructors

Link copied to clipboard
constructor(itemId: UUID, container: String, static: Boolean? = null, params: String? = null, tag: String? = null, playSessionId: String? = null, segmentContainer: String? = null, segmentLength: Int? = null, minSegments: Int? = null, mediaSourceId: String? = null, deviceId: String? = null, audioCodec: String? = null, enableAutoStreamCopy: Boolean? = null, allowVideoStreamCopy: Boolean? = null, allowAudioStreamCopy: Boolean? = null, breakOnNonKeyFrames: Boolean? = null, audioSampleRate: Int? = null, maxAudioBitDepth: Int? = null, audioBitRate: Int? = null, audioChannels: Int? = null, maxAudioChannels: Int? = null, profile: String? = null, level: String? = null, framerate: Float? = null, maxFramerate: Float? = null, copyTimestamps: Boolean? = null, startTimeTicks: Long? = null, width: Int? = null, height: Int? = null, videoBitRate: Int? = null, subtitleStreamIndex: Int? = null, subtitleMethod: SubtitleDeliveryMethod? = null, maxRefFrames: Int? = null, maxVideoBitDepth: Int? = null, requireAvc: Boolean? = null, deInterlace: Boolean? = null, requireNonAnamorphic: Boolean? = null, transcodingMaxAudioChannels: Int? = null, cpuCoreLimit: Int? = null, liveStreamId: String? = null, enableMpegtsM2TsMode: Boolean? = null, videoCodec: String? = null, subtitleCodec: String? = null, transcodeReasons: String? = null, audioStreamIndex: Int? = null, videoStreamIndex: Int? = null, context: EncodingContext? = null, streamOptions: Map<String, String?>? = null, enableAudioVbrEncoding: Boolean? = true)

Properties

Link copied to clipboard

Whether or not to allow copying of the audio stream url.

Link copied to clipboard

Whether or not to allow copying of the video stream url.

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 audioChannels: Int? = null

Optional. Specify a specific number of audio channels to encode to, e.g. 2.

Link copied to clipboard
val audioCodec: String? = null

Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.

Link copied to clipboard
val audioSampleRate: Int? = null

Optional. Specify a specific audio sample rate, e.g. 44100.

Link copied to clipboard
val audioStreamIndex: Int? = null

Optional. The index of the audio stream to use. If omitted the first audio stream will be used.

Link copied to clipboard

Optional. Whether to break on non key frames.

Link copied to clipboard

The audio container.

Link copied to clipboard

Optional. The MediaBrowser.Model.Dlna.EncodingContext.

Link copied to clipboard
val copyTimestamps: Boolean? = null

Whether or not to copy timestamps when transcoding with an offset. Defaults to false.

Link copied to clipboard
val cpuCoreLimit: Int? = null

Optional. The limit of how many cpu cores to use.

Link copied to clipboard
val deInterlace: Boolean? = null

Optional. Whether to deinterlace the video.

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 or not to allow automatic stream copy if requested values match the original source. Defaults to true.

Link copied to clipboard

Optional. Whether to enable the MpegtsM2Ts mode.

Link copied to clipboard
val framerate: Float? = null

Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.

Link copied to clipboard
val height: Int? = null

Optional. The fixed vertical resolution of the encoded video.

Link copied to clipboard

The item id.

Link copied to clipboard
val level: String? = null

Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.

Link copied to clipboard
val liveStreamId: String? = null

The live stream id.

Link copied to clipboard
val maxAudioBitDepth: Int? = null

Optional. The maximum audio bit depth.

Link copied to clipboard
val maxAudioChannels: Int? = null

Optional. Specify a maximum number of audio channels to encode to, e.g. 2.

Link copied to clipboard
val maxFramerate: Float? = null

Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.

Link copied to clipboard
val maxRefFrames: Int? = null

Optional.

Link copied to clipboard
val maxVideoBitDepth: Int? = null

Optional. The maximum video bit depth.

Link copied to clipboard
val mediaSourceId: String? = null

The media version id, if playing an alternate version.

Link copied to clipboard
val minSegments: Int? = null

The minimum number of segments.

Link copied to clipboard
val params: String? = null

The streaming parameters.

Link copied to clipboard
val playSessionId: String? = null

The play session id.

Link copied to clipboard
val profile: String? = null

Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.

Link copied to clipboard
val requireAvc: Boolean? = null

Optional. Whether to require avc.

Link copied to clipboard

Optional. Whether to require a non anamporphic stream.

Link copied to clipboard

The segment container.

Link copied to clipboard
val segmentLength: Int? = null

The segment length.

Link copied to clipboard
val startTimeTicks: Long? = null

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

Link copied to clipboard
val static: Boolean? = null

Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.

Link copied to clipboard
val streamOptions: Map<String, String?>? = null

Optional. The streaming options.

Link copied to clipboard
val subtitleCodec: String? = null

Optional. Specify a subtitle codec to encode to.

Link copied to clipboard

Optional. Specify the subtitle delivery method.

Link copied to clipboard

Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.

Link copied to clipboard
val tag: String? = null

The tag.

Link copied to clipboard

Optional. The transcoding reason.

Link copied to clipboard

Optional. The maximum number of audio channels to transcode.

Link copied to clipboard
val videoBitRate: Int? = null

Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.

Link copied to clipboard
val videoCodec: String? = null

Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.

Link copied to clipboard
val videoStreamIndex: Int? = null

Optional. The index of the video stream to use. If omitted the first video stream will be used.

Link copied to clipboard
val width: Int? = null

Optional. The fixed horizontal resolution of the encoded video.