API Docs
    Preparing search index...

    Interface Variant

    Variant Stream.

    Corresponds to #EXT-X-STREAM-INF or #EXT-X-I-FRAME-STREAM-INF.

    interface Variant {
        allowedCpc?: AllowedCpc[];
        audio?: Rendition[];
        averageBandwidth?: number;
        bandwidth: number;
        closedCaptions?: Rendition[];
        codecs?: string;
        frameRate?: number;
        hdcpLevel?: string;
        isIFrameOnly?: boolean;
        pathwayId?: string;
        programId?: number;
        resolution?: Resolution;
        score?: number;
        stableVariantId?: string;
        subtitles?: Rendition[];
        uri: string;
        video?: Rendition[];
        videoRange?: string;
    }
    Index

    Properties

    allowedCpc?: AllowedCpc[]

    Allowed Content Protection Configurations.

    audio?: Rendition[]

    Audio renditions matching this variant's GROUP-ID.

    averageBandwidth?: number

    Average bit rate in bits per second.

    bandwidth: number

    Peak bit rate in bits per second.

    closedCaptions?: Rendition[]

    Closed-caption renditions matching this variant's GROUP-ID.

    codecs?: string

    Codec identifiers (RFC 6381).

    frameRate?: number

    Maximum frame rate (rounded to 3 decimal places).

    hdcpLevel?: string

    HDCP level: "TYPE-0" or "NONE".

    isIFrameOnly?: boolean

    Whether this is an I-frame variant (#EXT-X-I-FRAME-STREAM-INF).

    pathwayId?: string

    Pathway ID for content steering.

    programId?: number

    Program ID.

    Removed in protocol version 6.

    resolution?: Resolution

    Optimal display resolution.

    score?: number

    Variant SCORE (LL-HLS), used for prioritised playlist reload.

    If any variant has a SCORE, all variants SHOULD have one.

    stableVariantId?: string

    Stable variant identifier.

    subtitles?: Rendition[]

    Subtitle renditions matching this variant's GROUP-ID.

    uri: string

    URI of the media playlist.

    video?: Rendition[]

    Video renditions matching this variant's GROUP-ID.

    videoRange?: string

    Video range: "SDR", "HLG", or "PQ".