Information about a given segment.

interface SegmentInfo {
    duration?: number;
    startTime?: number;
    url: string;
}

Properties

duration?: number

Duration of the segment.

startTime?: number

Playback time of the beginning of the segment.

url: string

The full URL of the described segment.