Interface SegmentURLType

Represents a URL reference to a media segment, including optional range information for byte-serving.

interface SegmentURLType {
    index?: string;
    indexRange?: ByteRange;
    media?: string;
    mediaRange?: ByteRange;
}

Properties

index?: string

The URL to the index of the segment, if separate from the media URL.

indexRange?: ByteRange

The byte range of the index within the media file, if applicable.

media?: string

The URL to the media segment itself.

mediaRange?: ByteRange

The byte range of the media within the media file, allowing for partial retrieval.