new PESAACParser()
- Source:
Extends
Methods
getAdtsFrames() → {Array.<AdtsFrame>}
Get all ADTS Frames in this data stream
- Source:
Returns:
- Type
- Array.<AdtsFrame>
getData() → {Uint8Array}
Get data stream as Uint8 byte array
- Inherited From:
- Source:
Returns:
Data stream
- Type
- Uint8Array
getHeaderForByteOffset(offset) → {HlsTsPesHeader}
Get a PES header at a specific position in the data stream
Parameters:
Name | Type | Description |
---|---|---|
offset |
number | Position in the data stream |
- Inherited From:
- Source:
Returns:
- Type
- HlsTsPesHeader
getHeaders() → {Array.<HlsTsPesHeader>}
Get PES headers in this data stream
- Inherited From:
- Source:
Returns:
- Type
- Array.<HlsTsPesHeader>
getId() → {number}
Get program ID
- Inherited From:
- Source:
Returns:
Program ID
- Type
- number