Methods
parseData($super, data) → {Uint8Array}
Extract data from the message. The H264 NAL unit starts at offset 12 after 8-bytes time stamp and 4-bytes frame length.
Parameters:
| Name | Type | Description |
|---|---|---|
$super |
function | the parseData super method |
data |
ArrayBuffer | the data to parse |
Returns:
the parsed data
- Type
- Uint8Array
parseTimeStamp($super, data) → {number}
Extracts timestamp from the message. The timestamp is corresponding to the first 64bits of the binary message.
Parameters:
| Name | Type | Description |
|---|---|---|
$super |
function | the parseTimeStamp super method |
data |
ArrayBuffer | the data to parse |
Returns:
the extracted timestamp
- Type
- number