Fragment
Static Member Summary
Static Public Members | ||
public static get |
ElementaryStreamTypes: {"AUDIO": string, "VIDEO": string}
|
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
byteRange: * |
|
public get |
|
|
public get |
|
|
public get |
decryptdata: * |
|
public get |
|
|
public |
tagList: *[] |
|
public get |
url: * |
|
public set |
|
Private Members | ||
private |
_byteRange: * |
|
private |
_decryptdata: * |
|
private |
_elementaryStreams: {"undefined": *} |
|
private |
|
|
private |
_url: * |
Method Summary
Public Methods | ||
public |
addElementaryStream(type: ElementaryStreamType) |
|
public |
createInitializationVector(segmentNumber: *): Uint8Array Utility method for parseLevelPlaylist to create an initialization vector for a given segment |
|
public |
fragmentDecryptdataFromLevelkey(levelkey: *, segmentNumber: *): * Utility method for parseLevelPlaylist to get a fragment's decryption data from the currently parsed encryption key data |
|
public |
hasElementaryStream(type: ElementaryStreamType): * |
Static Public Members
Public Constructors
public constructor() source
Public Members
public get byteRange: * source
public get byteRangeEndOffset: * source
public get decryptdata: * source
public get programDateTime: * source
public tagList: *[] source
public get url: * source
public set url source
Private Members
private _byteRange: * source
private _decryptdata: * source
private _elementaryStreams: {"undefined": *} source
private _programDateTime: * source
private _url: * source
Public Methods
public addElementaryStream(type: ElementaryStreamType) source
Params:
Name | Type | Attribute | Description |
type | ElementaryStreamType |
public createInitializationVector(segmentNumber: *): Uint8Array source
Utility method for parseLevelPlaylist to create an initialization vector for a given segment
Params:
Name | Type | Attribute | Description |
segmentNumber | * |
public fragmentDecryptdataFromLevelkey(levelkey: *, segmentNumber: *): * source
Utility method for parseLevelPlaylist to get a fragment's decryption data from the currently parsed encryption key data
Params:
Name | Type | Attribute | Description |
levelkey | * | a playlist's encryption info |
|
segmentNumber | * | the fragment's segment number |
Return:
* | an object to be applied as a fragment's decryptdata |
public hasElementaryStream(type: ElementaryStreamType): * source
Params:
Name | Type | Attribute | Description |
type | ElementaryStreamType |
Return:
* |