Class: shaka.cea.SeiProcessor

Constructor

new SeiProcessor()

Source:

Methods

process(naluDatanon-null) → {Iterable.<!Uint8Array>}

Processes supplemental enhancement information data.
Parameters:
Name Type Description
naluData Uint8Array NALU from which SEI data is to be processed.
Source:
Returns:
Type
Iterable.<!Uint8Array>

removeEmu(naluDatanon-null) → {Uint8Array}

Removes H.264 emulation prevention bytes from the byte array. Note: Remove bytes by shifting will cause Chromium (VDA) to complain about conformance. Recreating a new array solves it.
Parameters:
Name Type Description
naluData Uint8Array NALU from which EMUs should be removed.
Source:
Returns:
The NALU with the emulation prevention byte removed.
Type
Uint8Array