Amazon Vinyl
    Preparing search index...

    Interface VariantStream

    A variant stream in an HLS Master Playlist (EXT-X-STREAM-INF).

    Each variant represents the same presentation at a particular bitrate and resolution, optionally referencing alternative rendition groups for audio, video, subtitles, or closed captions.

    interface VariantStream {
        audioGroup?: string;
        bandwidth: number;
        closedCaptionsGroup?: string;
        codecs?: string;
        frameRate?: number;
        height?: number;
        subtitlesGroup?: string;
        uri: string;
        videoGroup?: string;
        width?: number;
    }
    Index
    audioGroup?: string

    The GROUP-ID of the audio alternative renditions to use with this variant (AUDIO).

    bandwidth: number

    The peak bitrate of the variant stream in bits per second (BANDWIDTH).

    closedCaptionsGroup?: string

    The GROUP-ID of the closed-caption alternative renditions to use with this variant (CLOSED-CAPTIONS).

    codecs?: string

    A comma-separated list of codec strings describing the media in this variant (CODECS).

    frameRate?: number

    The maximum frame rate of the video in frames per second (FRAME-RATE).

    height?: number

    The vertical resolution of the video in pixels (RESOLUTION height).

    subtitlesGroup?: string

    The GROUP-ID of the subtitle alternative renditions to use with this variant (SUBTITLES).

    uri: string

    The URI of the Media Playlist for this variant.

    videoGroup?: string

    The GROUP-ID of the video alternative renditions to use with this variant (VIDEO).

    width?: number

    The horizontal resolution of the video in pixels (RESOLUTION width).