Members
-
flags :Number
-
Flags
Type:
- Number
-
videoInterfaceNames :String
-
Video-interface names
Type:
- String
-
videoInterfaceNumbers :Number
-
Video-interface numbers
Type:
- Number
Methods
-
getSourceInfo(id) → {Object}
-
Returns more information about the type (input, auxiliary, mediaPlayer, ...) and index of an ATEM source given its source ID.
For example if one would lookup (SourceID)4020
, this will return{type: ['keyMask'], index: 1}
meaning: this is the second key mask. The index is a number starting at 0Parameters:
Name Type Description id
SourceID The source identification number Returns:
- Type
- Object
-
pad(number, size) → {string}
-
Converts a Number into a String
Parameters:
Name Type Description number
Number The number to convert size
Number The length of the new string Returns:
A fixed length string representation of the number- Type
- string
-
parseString(buffer) → {string}
-
Converts a Buffer into a String. Only the first non-zero bytes of the string will be converted
Parameters:
Name Type Description buffer
Buffer a buffer containing a string Returns:
the first non-zero bytes- Type
- string
-
setAux(aux, source)
-
Change the auxiliary output
Parameters:
Name Type Description aux
SourceID source
SourceID
Type Definitions
-
SourceConfiguration
-
Type:
- Object
- Source:
Properties:
Name Type Description name
String The display name of the source. This name is shown for each source on the multiview abbreviation
String An abbreviation of the display name. this abbreviation is displayed on the ATEM switcher panels. videoInterface
VideoInterface The video interface used for this source -
SourceID
-
The ID of a an ATEM source. If you need to know more info of a specified source use getSourceInfo
Type:
- Number
-
SourceState
-
Type:
- Object
-
VideoInterface
-
A string describing the video interface. Possible values are internal, sdi, hdmi, component
Type:
- string