TranscodingProfile

data class TranscodingProfile(val container: String, val type: DlnaProfileType, val videoCodec: String, val audioCodec: String, val protocol: MediaStreamProtocol, val estimateContentLength: Boolean = false, val enableMpegtsM2TsMode: Boolean = false, val transcodeSeekInfo: TranscodeSeekInfo = TranscodeSeekInfo.AUTO, val copyTimestamps: Boolean = false, val context: EncodingContext = EncodingContext.STREAMING, val enableSubtitlesInManifest: Boolean = false, val maxAudioChannels: String? = null, val minSegments: Int = 0, val segmentLength: Int = 0, val breakOnNonKeyFrames: Boolean = false, val conditions: List<ProfileCondition>, val enableAudioVbrEncoding: Boolean = true)

A class for transcoding profile information.

Constructors

Link copied to clipboard
constructor(container: String, type: DlnaProfileType, videoCodec: String, audioCodec: String, protocol: MediaStreamProtocol, estimateContentLength: Boolean = false, enableMpegtsM2TsMode: Boolean = false, transcodeSeekInfo: TranscodeSeekInfo = TranscodeSeekInfo.AUTO, copyTimestamps: Boolean = false, context: EncodingContext = EncodingContext.STREAMING, enableSubtitlesInManifest: Boolean = false, maxAudioChannels: String? = null, minSegments: Int = 0, segmentLength: Int = 0, breakOnNonKeyFrames: Boolean = false, conditions: List<ProfileCondition>, enableAudioVbrEncoding: Boolean = true)

Properties

Link copied to clipboard

The audio codec.

Link copied to clipboard

A value indicating whether breaking the video stream on non-keyframes is supported.

Link copied to clipboard

The profile conditions.

Link copied to clipboard

The container.

Link copied to clipboard

The encoding context.

Link copied to clipboard
val copyTimestamps: Boolean = false

A value indicating whether timestamps should be copied.

Link copied to clipboard

A value indicating whether variable bitrate encoding is supported.

Link copied to clipboard

A value indicating whether M2TS mode is enabled.

Link copied to clipboard

A value indicating whether subtitles are allowed in the manifest.

Link copied to clipboard

A value indicating whether the content length should be estimated.

Link copied to clipboard

The maximum audio channels.

Link copied to clipboard
val minSegments: Int = 0

The minimum amount of segments.

Link copied to clipboard

Media streaming protocol. Lowercase for backwards compatibility.

Link copied to clipboard

The segment length.

Link copied to clipboard

The transcoding seek info mode.

Link copied to clipboard

The DLNA profile type.

Link copied to clipboard

The video codec.