Amazon Vinyl
    Preparing search index...

    Interface AlternativePresentationType

    An alternative MPD event's presentation, ISO/IEC 23009-1 5.16. Durations and offsets are in the parent EventStream's timescale units.

    interface AlternativePresentationType {
        clip?: boolean;
        earliestResolutionTimeOffset?: number;
        maxDuration?: number;
        returnOffset?: number;
        startWithOffset?: boolean;
        uri?: string;
    }
    Index
    clip?: boolean

    Replace only: when true (the default), a late-starting alternative presentation is clipped so the main presentation resumes on time.

    earliestResolutionTimeOffset?: number

    How far before the event the alternative MPD may be resolved.

    maxDuration?: number

    The maximum duration the alternative presentation may play.

    returnOffset?: number

    Replace only: the offset from the event's start at which the main presentation resumes. Defaults to the event's duration.

    startWithOffset?: boolean

    Replace only: when true, a late-starting alternative presentation starts at the offset it would have reached had it started on time.

    uri?: string

    The URL of the alternative MPD, or of a resolver that returns it.