MediaStream

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

The aspect ratio.

Link copied to clipboard

The audio spatial format.

Link copied to clipboard

The average frame rate.

Link copied to clipboard

The bit depth.

Link copied to clipboard
val bitRate: Int?

The bit rate.

Link copied to clipboard

The Dolby Vision bl present flag.

Link copied to clipboard

The channel layout.

Link copied to clipboard

The channels.

Link copied to clipboard

The codec.

Link copied to clipboard

The codec tag.

Link copied to clipboard

The codec time base.

Link copied to clipboard

The color primaries.

Link copied to clipboard

The color range.

Link copied to clipboard

The color space.

Link copied to clipboard

The color transfer.

Link copied to clipboard

The comment.

Link copied to clipboard
Link copied to clipboard

The delivery URL.

Link copied to clipboard
Link copied to clipboard

The Dolby Vision bl signal compatibility id.

Link copied to clipboard
val dvLevel: Int?

The Dolby Vision level.

Link copied to clipboard

The Dolby Vision profile.

Link copied to clipboard

The Dolby Vision version major.

Link copied to clipboard

The Dolby Vision version minor.

Link copied to clipboard

The Dolby Vision el present flag.

Link copied to clipboard
Link copied to clipboard
val height: Int?

The height.

Link copied to clipboard
val index: Int

The index.

Link copied to clipboard

Whether this instance is anamorphic.

Link copied to clipboard
Link copied to clipboard

A value indicating whether this instance is default.

Link copied to clipboard

A value indicating whether this instance is external.

Link copied to clipboard

A value indicating whether this instance is external URL.

Link copied to clipboard

A value indicating whether this instance is forced.

Link copied to clipboard

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

Link copied to clipboard

A value indicating whether this instance is interlaced.

Link copied to clipboard
Link copied to clipboard

The language.

Link copied to clipboard

The level.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The length of the packet.

Link copied to clipboard
val path: String?

The filename.

Link copied to clipboard

The pixel format.

Link copied to clipboard

The profile.

Link copied to clipboard

The real frame rate.

Link copied to clipboard

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

Link copied to clipboard

The reference frames.

Link copied to clipboard

The Rotation in degrees.

Link copied to clipboard

The Dolby Vision rpu present flag.

Link copied to clipboard

The sample rate.

Link copied to clipboard
val score: Int?

The score.

Link copied to clipboard

A value indicating whether supports external stream.

Link copied to clipboard

The time base.

Link copied to clipboard

The title.

Link copied to clipboard

The type.

Link copied to clipboard

The video dovi title.

Link copied to clipboard

The video range.

Link copied to clipboard

The video range type.

Link copied to clipboard
val width: Int?

The width.