Home > hls.js > BaseSegment
BaseSegment class
Signature:
export declare class BaseSegment Constructors
| Constructor | Modifiers | Description | 
|---|---|---|
| (constructor)(baseurl) | Constructs a new instance of the BaseSegmentclass | 
Properties
| Property | Modifiers | Type | Description | 
|---|---|---|---|
| baseurl | readonly | string | |
| byteRange | readonly | number[] | |
| byteRangeEndOffset | readonly | number | |
| byteRangeStartOffset | readonly | number | |
| elementaryStreams | ElementaryStreams | ||
| relurl? | string | (Optional) | |
| url | string | 
Methods
| Method | Modifiers | Description | 
|---|---|---|
| setByteRange(value, previous) |