API Docs
    Preparing search index...

    Interface DateRange

    Date Range metadata.

    Corresponds to the #EXT-X-DATERANGE tag.

    interface DateRange {
        attributes?: Record<string, any>;
        classId?: string;
        cue?: string;
        duration?: number;
        end?: Date;
        endOnNext?: boolean;
        id: string;
        plannedDuration?: number;
        start: Date;
    }
    Index

    Properties

    attributes?: Record<string, any>

    Custom attributes (SCTE35- and X- prefixed).

    classId?: string

    CLASS name grouping ranges with shared semantics.

    cue?: string

    Cue information.

    duration?: number

    Duration in seconds.

    end?: Date

    End date/time.

    endOnNext?: boolean

    Whether this range ends at the start of the next range of the same CLASS.

    Cannot coexist with duration or end.

    id: string

    Unique identifier.

    plannedDuration?: number

    Expected duration (when actual is not yet known).

    start: Date

    Start date/time.