Fragment
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
byteRange: * |
|
public get |
|
|
public get |
|
|
public get |
decryptdata: * |
|
public |
|
|
public get |
encrypted: * |
|
public get |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
title: * |
|
public get |
url: * |
|
public set |
|
|
public |
|
Private Members | ||
private |
_byteRange: * |
|
private |
_decryptdata: * |
|
private |
_elementaryStreams: Record |
|
private |
_url: * |
Method Summary
Public Methods | ||
public |
addElementaryStream(type: ElementaryStreamTypes) |
|
public |
createInitializationVector(segmentNumber: number): Uint8Array Utility method for parseLevelPlaylist to create an initialization vector for a given segment |
|
public |
hasElementaryStream(type: ElementaryStreamTypes): * |
|
public |
setByteRange(value: string, previousFrag: Fragment) |
|
public |
setDecryptDataFromLevelKey(levelkey: LevelKey, segmentNumber: number): LevelKey Utility method for parseLevelPlaylist to get a fragment's decryption data from the currently parsed encryption key data |
Public Constructors
public constructor() source
Public Members
public get byteRange: * source
public get byteRangeEndOffset: * source
public get decryptdata: * source
public get encrypted: * source
public get endProgramDateTime: * source
public programDateTime: * source
public rawProgramDateTime: * source
public title: * source
public get url: * source
Private Members
private _byteRange: * source
private _decryptdata: * source
private _elementaryStreams: Record source
private _url: * source
Public Methods
public addElementaryStream(type: ElementaryStreamTypes) source
Params:
Name | Type | Attribute | Description |
type | ElementaryStreamTypes |
public createInitializationVector(segmentNumber: number): Uint8Array source
Utility method for parseLevelPlaylist to create an initialization vector for a given segment
Params:
Name | Type | Attribute | Description |
segmentNumber | number |
public hasElementaryStream(type: ElementaryStreamTypes): * source
Params:
Name | Type | Attribute | Description |
type | ElementaryStreamTypes |
Return:
* |