atem/src/command/atem_command library

ATEM command encoding and decoding.

Commands are encoded as an 8-byte record header followed by binary data. Multiple command records can be packed into a single UDP packet.

Classes

AtemCommand
Internal base class for AtemCommand.
AtemCommandCode
Common ATEM command codes.

Functions

packCommands(Iterable<AtemCommand> commands) Uint8List
Packs multiple commands into a single packet payload.
unpackCommands(Uint8List data) List<AtemCommand>
Unpacks a packet payload into individual commands.