MediaSourceInfo

interface MediaSourceInfo {
    AnalyzeDurationMs?: null | number;
    Bitrate?: null | number;
    BufferMs?: null | number;
    Container?: null | string;
    DefaultAudioStreamIndex?: null | number;
    DefaultSubtitleStreamIndex?: null | number;
    EncoderPath?: null | string;
    EncoderProtocol?: MediaProtocol;
    ETag?: null | string;
    FallbackMaxStreamingBitrate?: null | number;
    Formats?: null | string[];
    GenPtsInput?: boolean;
    HasSegments?: boolean;
    Id?: null | string;
    IgnoreDts?: boolean;
    IgnoreIndex?: boolean;
    IsInfiniteStream?: boolean;
    IsoType?: IsoType;
    IsRemote?: boolean;
    LiveStreamId?: null | string;
    MediaAttachments?: null | MediaAttachment[];
    MediaStreams?: null | MediaStream[];
    Name?: null | string;
    OpenToken?: null | string;
    Path?: null | string;
    Protocol?: MediaProtocol;
    ReadAtNativeFramerate?: boolean;
    RequiredHttpHeaders?: null | {
        [key: string]: string | null;
    };
    RequiresClosing?: boolean;
    RequiresLooping?: boolean;
    RequiresOpening?: boolean;
    RunTimeTicks?: null | number;
    Size?: null | number;
    SupportsDirectPlay?: boolean;
    SupportsDirectStream?: boolean;
    SupportsProbing?: boolean;
    SupportsTranscoding?: boolean;
    Timestamp?: TransportStreamTimestamp;
    TranscodingContainer?: null | string;
    TranscodingSubProtocol?: MediaStreamProtocol;
    TranscodingUrl?: null | string;
    Type?: MediaSourceType;
    UseMostCompatibleTranscodingProfile?: boolean;
    Video3DFormat?: Video3DFormat;
    VideoType?: VideoType;
}

Properties

AnalyzeDurationMs?: null | number

MediaSourceInfo

Bitrate?: null | number

MediaSourceInfo

BufferMs?: null | number

MediaSourceInfo

Container?: null | string

MediaSourceInfo

DefaultAudioStreamIndex?: null | number

MediaSourceInfo

DefaultSubtitleStreamIndex?: null | number

MediaSourceInfo

EncoderPath?: null | string

MediaSourceInfo

EncoderProtocol?: MediaProtocol

MediaSourceInfo

ETag?: null | string

MediaSourceInfo

FallbackMaxStreamingBitrate?: null | number

MediaSourceInfo

Formats?: null | string[]

MediaSourceInfo

GenPtsInput?: boolean

MediaSourceInfo

HasSegments?: boolean

MediaSourceInfo

Id?: null | string

MediaSourceInfo

IgnoreDts?: boolean

MediaSourceInfo

IgnoreIndex?: boolean

MediaSourceInfo

IsInfiniteStream?: boolean

MediaSourceInfo

IsoType?: IsoType

MediaSourceInfo

IsRemote?: boolean

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

MediaSourceInfo

LiveStreamId?: null | string

MediaSourceInfo

MediaAttachments?: null | MediaAttachment[]

MediaSourceInfo

MediaStreams?: null | MediaStream[]

MediaSourceInfo

Name?: null | string

MediaSourceInfo

OpenToken?: null | string

MediaSourceInfo

Path?: null | string

MediaSourceInfo

Protocol?: MediaProtocol

MediaSourceInfo

ReadAtNativeFramerate?: boolean

MediaSourceInfo

RequiredHttpHeaders?: null | {
    [key: string]: string | null;
}

MediaSourceInfo

RequiresClosing?: boolean

MediaSourceInfo

RequiresLooping?: boolean

MediaSourceInfo

RequiresOpening?: boolean

MediaSourceInfo

RunTimeTicks?: null | number

MediaSourceInfo

Size?: null | number

MediaSourceInfo

SupportsDirectPlay?: boolean

MediaSourceInfo

SupportsDirectStream?: boolean

MediaSourceInfo

SupportsProbing?: boolean

MediaSourceInfo

SupportsTranscoding?: boolean

MediaSourceInfo

MediaSourceInfo

TranscodingContainer?: null | string

MediaSourceInfo

TranscodingSubProtocol?: MediaStreamProtocol

MediaSourceInfo

TranscodingUrl?: null | string

MediaSourceInfo

MediaSourceInfo

UseMostCompatibleTranscodingProfile?: boolean

MediaSourceInfo

Video3DFormat?: Video3DFormat

MediaSourceInfo

VideoType?: VideoType

MediaSourceInfo