MediaStream

@Serializable
data class MediaStream(val codec: String? = null, val codecTag: String? = null, val language: String? = null, val colorRange: String? = null, val colorSpace: String? = null, val colorTransfer: String? = null, val colorPrimaries: String? = null, val dvVersionMajor: Int? = null, val dvVersionMinor: Int? = null, val dvProfile: Int? = null, val dvLevel: Int? = null, val rpuPresentFlag: Int? = null, val elPresentFlag: Int? = null, val blPresentFlag: Int? = null, val dvBlSignalCompatibilityId: Int? = null, val rotation: Int? = null, val comment: String? = null, val timeBase: String? = null, val codecTimeBase: String? = null, val title: String? = null, val hdr10PlusPresentFlag: Boolean? = null, val videoRange: VideoRange = VideoRange.UNKNOWN, val videoRangeType: VideoRangeType = VideoRangeType.UNKNOWN, val videoDoViTitle: String? = null, val audioSpatialFormat: AudioSpatialFormat = AudioSpatialFormat.NONE, val localizedUndefined: String? = null, val localizedDefault: String? = null, val localizedForced: String? = null, val localizedExternal: String? = null, val localizedHearingImpaired: String? = null, val displayTitle: String? = null, val nalLengthSize: String? = null, val isInterlaced: Boolean, val isAvc: Boolean? = null, val channelLayout: String? = null, val bitRate: Int? = null, val bitDepth: Int? = null, val refFrames: Int? = null, val packetLength: Int? = null, val channels: Int? = null, val sampleRate: Int? = null, val isDefault: Boolean, val isForced: Boolean, val isHearingImpaired: Boolean, val height: Int? = null, val width: Int? = null, val averageFrameRate: Float? = null, val realFrameRate: Float? = null, val referenceFrameRate: Float? = null, val profile: String? = null, val type: MediaStreamType, val aspectRatio: String? = null, val index: Int, val score: Int? = null, val isExternal: Boolean, val deliveryMethod: SubtitleDeliveryMethod? = null, val deliveryUrl: String? = null, val isExternalUrl: Boolean? = null, val isTextSubtitleStream: Boolean, val supportsExternalStream: Boolean, val path: String? = null, val pixelFormat: String? = null, val level: Double? = null, val isAnamorphic: Boolean? = null)

Class MediaStream.

Constructors

Link copied to clipboard
constructor(codec: String? = null, codecTag: String? = null, language: String? = null, colorRange: String? = null, colorSpace: String? = null, colorTransfer: String? = null, colorPrimaries: String? = null, dvVersionMajor: Int? = null, dvVersionMinor: Int? = null, dvProfile: Int? = null, dvLevel: Int? = null, rpuPresentFlag: Int? = null, elPresentFlag: Int? = null, blPresentFlag: Int? = null, dvBlSignalCompatibilityId: Int? = null, rotation: Int? = null, comment: String? = null, timeBase: String? = null, codecTimeBase: String? = null, title: String? = null, hdr10PlusPresentFlag: Boolean? = null, videoRange: VideoRange = VideoRange.UNKNOWN, videoRangeType: VideoRangeType = VideoRangeType.UNKNOWN, videoDoViTitle: String? = null, audioSpatialFormat: AudioSpatialFormat = AudioSpatialFormat.NONE, localizedUndefined: String? = null, localizedDefault: String? = null, localizedForced: String? = null, localizedExternal: String? = null, localizedHearingImpaired: String? = null, displayTitle: String? = null, nalLengthSize: String? = null, isInterlaced: Boolean, isAvc: Boolean? = null, channelLayout: String? = null, bitRate: Int? = null, bitDepth: Int? = null, refFrames: Int? = null, packetLength: Int? = null, channels: Int? = null, sampleRate: Int? = null, isDefault: Boolean, isForced: Boolean, isHearingImpaired: Boolean, height: Int? = null, width: Int? = null, averageFrameRate: Float? = null, realFrameRate: Float? = null, referenceFrameRate: Float? = null, profile: String? = null, type: MediaStreamType, aspectRatio: String? = null, index: Int, score: Int? = null, isExternal: Boolean, deliveryMethod: SubtitleDeliveryMethod? = null, deliveryUrl: String? = null, isExternalUrl: Boolean? = null, isTextSubtitleStream: Boolean, supportsExternalStream: Boolean, path: String? = null, pixelFormat: String? = null, level: Double? = null, isAnamorphic: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "AspectRatio")
val aspectRatio: String?

The aspect ratio.

Link copied to clipboard
@SerialName(value = "AudioSpatialFormat")
val audioSpatialFormat: AudioSpatialFormat

The audio spatial format.

Link copied to clipboard
@SerialName(value = "AverageFrameRate")
val averageFrameRate: Float?

The average frame rate.

Link copied to clipboard
@SerialName(value = "BitDepth")
val bitDepth: Int?

The bit depth.

Link copied to clipboard
@SerialName(value = "BitRate")
val bitRate: Int?

The bit rate.

Link copied to clipboard
@SerialName(value = "BlPresentFlag")
val blPresentFlag: Int?

The Dolby Vision bl present flag.

Link copied to clipboard
@SerialName(value = "ChannelLayout")
val channelLayout: String?

The channel layout.

Link copied to clipboard
@SerialName(value = "Channels")
val channels: Int?

The channels.

Link copied to clipboard
@SerialName(value = "Codec")
val codec: String?

The codec.

Link copied to clipboard
@SerialName(value = "CodecTag")
val codecTag: String?

The codec tag.

Link copied to clipboard
@SerialName(value = "CodecTimeBase")
val codecTimeBase: String?

The codec time base.

Link copied to clipboard
@SerialName(value = "ColorPrimaries")
val colorPrimaries: String?

The color primaries.

Link copied to clipboard
@SerialName(value = "ColorRange")
val colorRange: String?

The color range.

Link copied to clipboard
@SerialName(value = "ColorSpace")
val colorSpace: String?

The color space.

Link copied to clipboard
@SerialName(value = "ColorTransfer")
val colorTransfer: String?

The color transfer.

Link copied to clipboard
@SerialName(value = "Comment")
val comment: String?

The comment.

Link copied to clipboard
@SerialName(value = "DeliveryMethod")
val deliveryMethod: SubtitleDeliveryMethod?

The method.

Link copied to clipboard
@SerialName(value = "DeliveryUrl")
val deliveryUrl: String?

The delivery URL.

Link copied to clipboard
@SerialName(value = "DisplayTitle")
val displayTitle: String?
Link copied to clipboard
@SerialName(value = "DvBlSignalCompatibilityId")
val dvBlSignalCompatibilityId: Int?

The Dolby Vision bl signal compatibility id.

Link copied to clipboard
@SerialName(value = "DvLevel")
val dvLevel: Int?

The Dolby Vision level.

Link copied to clipboard
@SerialName(value = "DvProfile")
val dvProfile: Int?

The Dolby Vision profile.

Link copied to clipboard
@SerialName(value = "DvVersionMajor")
val dvVersionMajor: Int?

The Dolby Vision version major.

Link copied to clipboard
@SerialName(value = "DvVersionMinor")
val dvVersionMinor: Int?

The Dolby Vision version minor.

Link copied to clipboard
@SerialName(value = "ElPresentFlag")
val elPresentFlag: Int?

The Dolby Vision el present flag.

Link copied to clipboard
@SerialName(value = "Hdr10PlusPresentFlag")
val hdr10PlusPresentFlag: Boolean?
Link copied to clipboard
@SerialName(value = "Height")
val height: Int?

The height.

Link copied to clipboard
@SerialName(value = "Index")
val index: Int

The index.

Link copied to clipboard
@SerialName(value = "IsAnamorphic")
val isAnamorphic: Boolean?

Whether this instance is anamorphic.

Link copied to clipboard
@SerialName(value = "IsAVC")
val isAvc: Boolean?
Link copied to clipboard
@SerialName(value = "IsDefault")
val isDefault: Boolean

A value indicating whether this instance is default.

Link copied to clipboard
@SerialName(value = "IsExternal")
val isExternal: Boolean

A value indicating whether this instance is external.

Link copied to clipboard
@SerialName(value = "IsExternalUrl")
val isExternalUrl: Boolean?

A value indicating whether this instance is external URL.

Link copied to clipboard
@SerialName(value = "IsForced")
val isForced: Boolean

A value indicating whether this instance is forced.

Link copied to clipboard
@SerialName(value = "IsHearingImpaired")
val isHearingImpaired: Boolean

A value indicating whether this instance is for the hearing impaired.

Link copied to clipboard
@SerialName(value = "IsInterlaced")
val isInterlaced: Boolean

A value indicating whether this instance is interlaced.

Link copied to clipboard
@SerialName(value = "IsTextSubtitleStream")
val isTextSubtitleStream: Boolean
Link copied to clipboard
@SerialName(value = "Language")
val language: String?

The language.

Link copied to clipboard
@SerialName(value = "Level")
val level: Double?

The level.

Link copied to clipboard
@SerialName(value = "LocalizedDefault")
val localizedDefault: String?
Link copied to clipboard
@SerialName(value = "LocalizedExternal")
val localizedExternal: String?
Link copied to clipboard
@SerialName(value = "LocalizedForced")
val localizedForced: String?
Link copied to clipboard
@SerialName(value = "LocalizedHearingImpaired")
val localizedHearingImpaired: String?
Link copied to clipboard
@SerialName(value = "LocalizedUndefined")
val localizedUndefined: String?
Link copied to clipboard
@SerialName(value = "NalLengthSize")
val nalLengthSize: String?
Link copied to clipboard
@SerialName(value = "PacketLength")
val packetLength: Int?

The length of the packet.

Link copied to clipboard
@SerialName(value = "Path")
val path: String?

The filename.

Link copied to clipboard
@SerialName(value = "PixelFormat")
val pixelFormat: String?

The pixel format.

Link copied to clipboard
@SerialName(value = "Profile")
val profile: String?

The profile.

Link copied to clipboard
@SerialName(value = "RealFrameRate")
val realFrameRate: Float?

The real frame rate.

Link copied to clipboard
@SerialName(value = "ReferenceFrameRate")
val referenceFrameRate: Float?

Gets the framerate used as reference. Prefer AverageFrameRate, if that is null or an unrealistic value then fallback to RealFrameRate.

Link copied to clipboard
@SerialName(value = "RefFrames")
val refFrames: Int?

The reference frames.

Link copied to clipboard
@SerialName(value = "Rotation")
val rotation: Int?

The Rotation in degrees.

Link copied to clipboard
@SerialName(value = "RpuPresentFlag")
val rpuPresentFlag: Int?

The Dolby Vision rpu present flag.

Link copied to clipboard
@SerialName(value = "SampleRate")
val sampleRate: Int?

The sample rate.

Link copied to clipboard
@SerialName(value = "Score")
val score: Int?

The score.

Link copied to clipboard
@SerialName(value = "SupportsExternalStream")
val supportsExternalStream: Boolean

A value indicating whether supports external stream.

Link copied to clipboard
@SerialName(value = "TimeBase")
val timeBase: String?

The time base.

Link copied to clipboard
@SerialName(value = "Title")
val title: String?

The title.

Link copied to clipboard
@SerialName(value = "Type")
val type: MediaStreamType

The type.

Link copied to clipboard
@SerialName(value = "VideoDoViTitle")
val videoDoViTitle: String?

The video dovi title.

Link copied to clipboard
@SerialName(value = "VideoRange")
val videoRange: VideoRange

The video range.

Link copied to clipboard
@SerialName(value = "VideoRangeType")
val videoRangeType: VideoRangeType

The video range type.

Link copied to clipboard
@SerialName(value = "Width")
val width: Int?

The width.