Tsarr Documentation - v2.16.0
    Preparing search index...

    Type Alias MediaSourceInfo

    type MediaSourceInfo = {
        Protocol?: "File" | "Http" | "Rtmp" | "Rtsp" | "Udp" | "Rtp" | "Ftp";
        Id?: string | null;
        Path?: string | null;
        EncoderPath?: string | null;
        EncoderProtocol?: "File" | "Http" | "Rtmp" | "Rtsp" | "Udp" | "Rtp" | "Ftp";
        Type?: "Default" | "Grouping" | "Placeholder";
        Container?: string | null;
        Size?: number | null;
        Name?: string | null;
        IsRemote?: boolean;
        ETag?: string | null;
        RunTimeTicks?: number | null;
        ReadAtNativeFramerate?: boolean;
        IgnoreDts?: boolean;
        IgnoreIndex?: boolean;
        GenPtsInput?: boolean;
        SupportsTranscoding?: boolean;
        SupportsDirectStream?: boolean;
        SupportsDirectPlay?: boolean;
        IsInfiniteStream?: boolean;
        UseMostCompatibleTranscodingProfile?: boolean;
        RequiresOpening?: boolean;
        OpenToken?: string | null;
        RequiresClosing?: boolean;
        LiveStreamId?: string | null;
        BufferMs?: number | null;
        RequiresLooping?: boolean;
        SupportsProbing?: boolean;
        VideoType?: "VideoFile" | "Iso" | "Dvd" | "BluRay";
        IsoType?: "Dvd" | "BluRay";
        Video3DFormat?:
            | "HalfSideBySide"
            | "FullSideBySide"
            | "FullTopAndBottom"
            | "HalfTopAndBottom"
            | "MVC";
        MediaStreams?: MediaStream[]
        | null;
        MediaAttachments?: MediaAttachment[] | null;
        Formats?: string[] | null;
        Bitrate?: number | null;
        FallbackMaxStreamingBitrate?: number | null;
        Timestamp?: "None" | "Zero" | "Valid";
        RequiredHttpHeaders?: { [key: string]: string | null } | null;
        TranscodingUrl?: string | null;
        TranscodingSubProtocol?: "http" | "hls";
        TranscodingContainer?: string | null;
        AnalyzeDurationMs?: number | null;
        DefaultAudioStreamIndex?: number | null;
        DefaultSubtitleStreamIndex?: number | null;
        HasSegments?: boolean;
    }
    Index
    Protocol?: "File" | "Http" | "Rtmp" | "Rtsp" | "Udp" | "Rtp" | "Ftp"
    Id?: string | null
    Path?: string | null
    EncoderPath?: string | null
    EncoderProtocol?: "File" | "Http" | "Rtmp" | "Rtsp" | "Udp" | "Rtp" | "Ftp"
    Type?: "Default" | "Grouping" | "Placeholder"

    The type of a media source.

    Container?: string | null
    Size?: number | null
    Name?: string | null
    IsRemote?: boolean

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

    ETag?: string | null
    RunTimeTicks?: number | null
    ReadAtNativeFramerate?: boolean
    IgnoreDts?: boolean
    IgnoreIndex?: boolean
    GenPtsInput?: boolean
    SupportsTranscoding?: boolean
    SupportsDirectStream?: boolean
    SupportsDirectPlay?: boolean
    IsInfiniteStream?: boolean
    UseMostCompatibleTranscodingProfile?: boolean
    RequiresOpening?: boolean
    OpenToken?: string | null
    RequiresClosing?: boolean
    LiveStreamId?: string | null
    BufferMs?: number | null
    RequiresLooping?: boolean
    SupportsProbing?: boolean
    VideoType?: "VideoFile" | "Iso" | "Dvd" | "BluRay"
    IsoType?: "Dvd" | "BluRay"
    Video3DFormat?:
        | "HalfSideBySide"
        | "FullSideBySide"
        | "FullTopAndBottom"
        | "HalfTopAndBottom"
        | "MVC"
    MediaStreams?: MediaStream[] | null
    MediaAttachments?: MediaAttachment[] | null
    Formats?: string[] | null
    Bitrate?: number | null
    FallbackMaxStreamingBitrate?: number | null
    Timestamp?: "None" | "Zero" | "Valid"
    RequiredHttpHeaders?: { [key: string]: string | null } | null
    TranscodingUrl?: string | null
    TranscodingSubProtocol?: "http" | "hls"

    Media streaming protocol. Lowercase for backwards compatibility.

    TranscodingContainer?: string | null
    AnalyzeDurationMs?: number | null
    DefaultAudioStreamIndex?: number | null
    DefaultSubtitleStreamIndex?: number | null
    HasSegments?: boolean