new Command(name, dataopt)
Creates a new ATEM command
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
String | An ATEM command (e.g. 'TlSr') consisting of 4 characters. | |
data |
Buffer |
<optional> |
A buffer containing command data. |
Members
-
data :Buffer
-
The command data.
Type:
- Buffer
-
length :Number
-
The number of bytes this command will take when serialized.
Type:
- Number
-
name :String
-
The name of the command.
Type:
- String