MediaSourceInfo

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
Link copied to clipboard
val bitrate: Int?
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
val eTag: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard
val path: String?
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
Link copied to clipboard
val size: Long?
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

Media streaming protocol. Lowercase for backwards compatibility.

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