Class: shaka.cea.DtvccPacketBuilder

Constructor

new DtvccPacketBuilder()

Source:

Members

DTVCC_PACKET_DATA :number

Type:
  • number
Source:

DTVCC_PACKET_START :number

Type:
  • number
Source:

builtPackets_ :Array.<!shaka.cea.DtvccPacket>

An array containing built DTVCC packets that are ready to be processed.
Type:
Source:

bytesLeftToAddInCurrentPacket_ :number

Keeps track of the number of bytes left to add in the current packet.
Type:
  • number
Source:

currentPacketBeingBuilt_ :Array.<!shaka.cea.Cea708Service.Cea708Byte>

Stores the packet data for the current packet being processed, if any.
Type:
Source:

Methods

addByte(cea708Bytenon-null)

Parameters:
Name Type Description
cea708Byte shaka.cea.Cea708Service.Cea708Byte
Source:

clear()

Clear built packets and packets in progress.
Source:

clearBuiltPackets()

Clear built packets.
Source:

getBuiltPackets() → {Array.<!shaka.cea.DtvccPacket>}

Source:
Returns:
Type
Array.<!shaka.cea.DtvccPacket>