MediaSourceInfo

@Serializable
data class MediaSourceInfo(val protocol: MediaProtocol, val id: String? = null, val path: String? = null, val encoderPath: String? = null, val encoderProtocol: MediaProtocol? = null, val type: MediaSourceType, val container: String? = null, val size: Long? = null, val name: String? = null, val isRemote: Boolean, val eTag: String? = null, val runTimeTicks: Long? = null, val readAtNativeFramerate: Boolean, val ignoreDts: Boolean, val ignoreIndex: Boolean, val genPtsInput: Boolean, val supportsTranscoding: Boolean, val supportsDirectStream: Boolean, val supportsDirectPlay: Boolean, val isInfiniteStream: Boolean, val useMostCompatibleTranscodingProfile: Boolean = false, val requiresOpening: Boolean, val openToken: String? = null, val requiresClosing: Boolean, val liveStreamId: String? = null, val bufferMs: Int? = null, val requiresLooping: Boolean, val supportsProbing: Boolean, val videoType: VideoType? = null, val isoType: IsoType? = null, val video3dFormat: Video3dFormat? = null, val mediaStreams: List<MediaStream>? = null, val mediaAttachments: List<MediaAttachment>? = null, val formats: List<String>? = null, val bitrate: Int? = null, val fallbackMaxStreamingBitrate: Int? = null, val timestamp: TransportStreamTimestamp? = null, val requiredHttpHeaders: Map<String, String?>? = null, val transcodingUrl: String? = null, val transcodingSubProtocol: MediaStreamProtocol, val transcodingContainer: String? = null, val analyzeDurationMs: Int? = null, val defaultAudioStreamIndex: Int? = null, val defaultSubtitleStreamIndex: Int? = null, val hasSegments: Boolean)

Constructors

Link copied to clipboard
constructor(protocol: MediaProtocol, id: String? = null, path: String? = null, encoderPath: String? = null, encoderProtocol: MediaProtocol? = null, type: MediaSourceType, container: String? = null, size: Long? = null, name: String? = null, isRemote: Boolean, eTag: String? = null, runTimeTicks: Long? = null, readAtNativeFramerate: Boolean, ignoreDts: Boolean, ignoreIndex: Boolean, genPtsInput: Boolean, supportsTranscoding: Boolean, supportsDirectStream: Boolean, supportsDirectPlay: Boolean, isInfiniteStream: Boolean, useMostCompatibleTranscodingProfile: Boolean = false, requiresOpening: Boolean, openToken: String? = null, requiresClosing: Boolean, liveStreamId: String? = null, bufferMs: Int? = null, requiresLooping: Boolean, supportsProbing: Boolean, videoType: VideoType? = null, isoType: IsoType? = null, video3dFormat: Video3dFormat? = null, mediaStreams: List<MediaStream>? = null, mediaAttachments: List<MediaAttachment>? = null, formats: List<String>? = null, bitrate: Int? = null, fallbackMaxStreamingBitrate: Int? = null, timestamp: TransportStreamTimestamp? = null, requiredHttpHeaders: Map<String, String?>? = null, transcodingUrl: String? = null, transcodingSubProtocol: MediaStreamProtocol, transcodingContainer: String? = null, analyzeDurationMs: Int? = null, defaultAudioStreamIndex: Int? = null, defaultSubtitleStreamIndex: Int? = null, hasSegments: Boolean)

Properties

Link copied to clipboard
@SerialName(value = "AnalyzeDurationMs")
val analyzeDurationMs: Int?
Link copied to clipboard
@SerialName(value = "Bitrate")
val bitrate: Int?
Link copied to clipboard
@SerialName(value = "BufferMs")
val bufferMs: Int?
Link copied to clipboard
@SerialName(value = "Container")
val container: String?
Link copied to clipboard
@SerialName(value = "DefaultAudioStreamIndex")
val defaultAudioStreamIndex: Int?
Link copied to clipboard
@SerialName(value = "DefaultSubtitleStreamIndex")
val defaultSubtitleStreamIndex: Int?
Link copied to clipboard
@SerialName(value = "EncoderPath")
val encoderPath: String?
Link copied to clipboard
@SerialName(value = "EncoderProtocol")
val encoderProtocol: MediaProtocol?
Link copied to clipboard
@SerialName(value = "ETag")
val eTag: String?
Link copied to clipboard
@SerialName(value = "FallbackMaxStreamingBitrate")
val fallbackMaxStreamingBitrate: Int?
Link copied to clipboard
@SerialName(value = "Formats")
val formats: List<String>?
Link copied to clipboard
@SerialName(value = "GenPtsInput")
val genPtsInput: Boolean
Link copied to clipboard
@SerialName(value = "HasSegments")
val hasSegments: Boolean
Link copied to clipboard
@SerialName(value = "Id")
val id: String?
Link copied to clipboard
@SerialName(value = "IgnoreDts")
val ignoreDts: Boolean
Link copied to clipboard
@SerialName(value = "IgnoreIndex")
val ignoreIndex: Boolean
Link copied to clipboard
@SerialName(value = "IsInfiniteStream")
val isInfiniteStream: Boolean
Link copied to clipboard
@SerialName(value = "IsoType")
val isoType: IsoType?
Link copied to clipboard
@SerialName(value = "IsRemote")
val isRemote: Boolean

Gets or sets a value indicating whether the media is remote. Differentiate internet url vs local network.

Link copied to clipboard
@SerialName(value = "LiveStreamId")
val liveStreamId: String?
Link copied to clipboard
@SerialName(value = "MediaAttachments")
val mediaAttachments: List<MediaAttachment>?
Link copied to clipboard
@SerialName(value = "MediaStreams")
val mediaStreams: List<MediaStream>?
Link copied to clipboard
@SerialName(value = "Name")
val name: String?
Link copied to clipboard
@SerialName(value = "OpenToken")
val openToken: String?
Link copied to clipboard
@SerialName(value = "Path")
val path: String?
Link copied to clipboard
@SerialName(value = "Protocol")
val protocol: MediaProtocol
Link copied to clipboard
@SerialName(value = "ReadAtNativeFramerate")
val readAtNativeFramerate: Boolean
Link copied to clipboard
@SerialName(value = "RequiredHttpHeaders")
val requiredHttpHeaders: Map<String, String?>?
Link copied to clipboard
@SerialName(value = "RequiresClosing")
val requiresClosing: Boolean
Link copied to clipboard
@SerialName(value = "RequiresLooping")
val requiresLooping: Boolean
Link copied to clipboard
@SerialName(value = "RequiresOpening")
val requiresOpening: Boolean
Link copied to clipboard
@SerialName(value = "RunTimeTicks")
val runTimeTicks: Long?
Link copied to clipboard
@SerialName(value = "Size")
val size: Long?
Link copied to clipboard
@SerialName(value = "SupportsDirectPlay")
val supportsDirectPlay: Boolean
Link copied to clipboard
@SerialName(value = "SupportsDirectStream")
val supportsDirectStream: Boolean
Link copied to clipboard
@SerialName(value = "SupportsProbing")
val supportsProbing: Boolean
Link copied to clipboard
@SerialName(value = "SupportsTranscoding")
val supportsTranscoding: Boolean
Link copied to clipboard
@SerialName(value = "Timestamp")
val timestamp: TransportStreamTimestamp?
Link copied to clipboard
@SerialName(value = "TranscodingContainer")
val transcodingContainer: String?
Link copied to clipboard
@SerialName(value = "TranscodingSubProtocol")
val transcodingSubProtocol: MediaStreamProtocol

Media streaming protocol. Lowercase for backwards compatibility.

Link copied to clipboard
@SerialName(value = "TranscodingUrl")
val transcodingUrl: String?
Link copied to clipboard
@SerialName(value = "Type")
val type: MediaSourceType
Link copied to clipboard
@SerialName(value = "UseMostCompatibleTranscodingProfile")
val useMostCompatibleTranscodingProfile: Boolean
Link copied to clipboard
@SerialName(value = "Video3DFormat")
val video3dFormat: Video3dFormat?
Link copied to clipboard
@SerialName(value = "VideoType")
val videoType: VideoType?