Amazon Vinyl
    Preparing search index...

    Interface AlternativeRendition

    An alternative rendition defined by EXT-X-MEDIA in an HLS Master Playlist.

    Alternative renditions allow a presentation to offer multiple versions of the same content, such as audio in different languages or subtitles, that can be selected independently of the variant stream.

    interface AlternativeRendition {
        autoSelect?: boolean;
        characteristics?: readonly string[];
        default?: boolean;
        forced?: boolean;
        groupId: string;
        language?: string;
        name: string;
        type: RenditionType;
        uri?: string;
    }
    Index
    autoSelect?: boolean

    Whether the client may choose to play this rendition without explicit user selection (AUTOSELECT).

    characteristics?: readonly string[]

    Media Characteristic Tags (CHARACTERISTICS), a comma-separated list of Uniform Type Identifiers describing the rendition, e.g. public.accessibility.transcribes-spoken-dialog. Parsed into individual tags. Absent when the attribute is not present.

    default?: boolean

    Whether this rendition should be played when the user has not expressed a preference (DEFAULT).

    forced?: boolean

    Whether this is a forced rendition (FORCED=YES): it presents essential text (e.g. translations of foreign dialogue) that should be shown even when the user has not enabled subtitles. Only meaningful for SUBTITLES.

    groupId: string

    The group to which this rendition belongs (GROUP-ID). Variants reference groups to associate renditions.

    language?: string

    The primary language of this rendition as a BCP 47 tag (LANGUAGE).

    name: string

    A human-readable description of this rendition (NAME).

    The media type of this rendition (AUDIO, VIDEO, SUBTITLES, or CLOSED-CAPTIONS).

    uri?: string

    The URI of the Media Playlist for this rendition. Absent for CLOSED-CAPTIONS or when muxed into the variant.