Class: AtemPacket

AtemPacket

Used to parse an UDP message from the Atem

new AtemPacket(msg)

Parse an ATEM UDP message
Parameters:
Name Type Description
msg Buffer The message to parse
Source:

Extends

Members

body

Properties:
Name Type Description
commands Array.<Command> An array containing all the commands in the Packet
length Number The serialized body's length
serialize method Convert the body to a buffer
Inherited From:
Source:
Represents the first 12 bytes of the serial packet
Properties:
Name Type Description
flags Number See flags
uid Number See Device ~ uid
ls Number Local sequence number
fs Number Foreign sequence number
packetLength Number The length of the serial packet
serialize() method Converts the header into a buffer
Inherited From:
Source:

Methods

acknowledge()

Send an acknowledgement for this packet to the ATEM
Source:

removePendingPackets()

Marks the corresponding (sync) UserPacket from the the pendingPackets list as read.
Note that packets, transmitted before the corresponding packet (thus having a local sequence number wich is less than the corresponding packet's one), will be removed too.
Source: