Fragment class
Object representing parsed data from an HLS Segment. Found in LevelDetails.fragments.
Signature:
export declare class Fragment extends BaseSegment
Extends: BaseSegment
Constructors
Constructor |
Modifiers |
Description |
---|---|---|
Constructs a new instance of the |
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
number | null | |||
boolean | |||
|
number | null | ||
number | |||
Uint8Array |
(Optional) | ||
|
LevelKey | null | ||
number |
(Optional) | ||
number | |||
|
boolean | ||
|
number | ||
number |
(Optional) | ||
boolean |
(Optional) | ||
|
number | null | ||
number |
(Optional) | ||
boolean |
(Optional) | ||
Fragment | null | |||
Loader<KeyLoaderContext> | null | |||
number | |||
{ [key: string]: LevelKey; } |
(Optional) | ||
Loader<FragmentLoaderContext> | null | |||
number |
(Optional) | ||
number |
(Optional) | ||
number | |||
number | null | |||
string | null | |||
|
MediaFragmentRef | null | ||
number | 'initSegment' | |||
number | |||
number |
(Optional) | ||
number |
(Optional) | ||
Array<string[]> | |||
string | null | |||
| |||
number |
Methods
Method |
Modifiers |
Description |
---|---|---|
setElementaryStreamInfo(type, startPTS, endPTS, startDTS, endDTS, partial) | ||