Represents a time range within media content, specifying the duration and/or start time of a segment or period. This is particularly useful in scenarios where specific sections of content are being referenced or manipulated.

interface RangeType {
    duration?: number;
    starttime?: number;
}

Properties

duration?: number

The duration of the range, in seconds.

starttime?: number

The start time of the range, in seconds relative to the beginning of the content or an enclosing period. This enables precise referencing of content segments.