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