Type Definitions
HlsTsDataStream
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
data |
Uint8Array | The audio and video data bytes |
size |
number | Amount of data bytes |
id |
number | Program ID |
pes |
Array.<HlsTsPesHeader> | PES Headers for this data stream |
- Source:
HlsTsNalUnit
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
data |
Uint8Array | The Nal payload |
type |
number | Nal Unit type |
offset |
number | Byte offset in data stream where this Nal Unit was found |
pes |
HlsTsPesHeader | PES Header for this chunk of AVC data |
- Source:
HlsTsNalUnitSPS
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
profileIdc |
number | ||
profileConstraintsFlags |
Array.<boolean> | ||
levelIdc |
number | ||
chromaFormatIdc |
number |
<nullable> |
|
seperateColourPlaneFlag |
boolean |
<nullable> |
|
bitDepthLuma |
number |
<nullable> |
|
bitDepthChroma |
number |
<nullable> |
|
qpPrimeYZeroTransformBypassFlag |
boolean |
<nullable> |
|
seqScalingMatrixPresentFlag |
boolean |
<nullable> |
|
log2MaxFrameNum |
number |
<nullable> |
|
picOrderCntType |
number |
<nullable> |
|
log2MaxPicOrderCntLsb |
number |
<nullable> |
|
deltaPicOrderAlwaysZeroFlag |
boolean |
<nullable> |
|
offsetForNonRefPic |
number |
<nullable> |
|
offsetForTopToBottomField |
number |
<nullable> |
|
numRefFrameInPicOrderCntCycle |
number |
<nullable> |
|
offsetForRefFrame |
Array.<number> |
<nullable> |
|
maxNumRefFrames |
number | ||
gapsInFrameNumValueAllowedFlag |
boolean | ||
picWidthInMbs |
number | ||
picWidthInSamples |
number | ||
picHeightInMapUnits |
number | ||
picSizeInMapUnits |
number |
- Source:
HlsTsOptions
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
debug |
boolean | Output debug informatin to logger |
- Source:
HlsTsPacket
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
pid |
number | Program ID this packet belongs to |
payloadUnitStartIndicator |
boolean | Payload Unit Start Indicator (PUSI) |
adaptationFieldControl |
number | Adaptation Field Control (ATF) |
pcr |
HlsTsPCR | PCR value |
- Source:
HlsTsPCR
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
base |
number | PCR base part |
value |
number | PCR value part |
- Source:
HlsTsPesHeader
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
pts |
number | PTS value |
dts |
number | DTS value |
offset |
number | Byte offset in data stream where this PES header was found |
- Source:
HlsTsProgramType
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
id |
number | Program ID |
type |
string | Program type, e.g: avc, aac, id3 |
pts |
Array.<number> | List of all PTS values found |
dts |
Array.<number> | List of all DTS values found |
- Source: