Switcher Pins

TCP Server ›› API ››
Parent Previous Next

Pin


cut

Executes the cut command, identical to pressing the Cut button. Value parameter is ignored.


preview

Selects video source for the preview bus. Value parameter holds the name of the video source, or its shortened switcher version (as displayed on the switcher buttons).


preview n

Selects video source with (zero-based) index n for the preview bus. Value parameter is ignored.


program

Selects video source for the program bus. Value parameter holds the name of the video source, or its shortened switcher version (as displayed on the switcher buttons).


program n

Selects video source with (zero-based) index n for the program bus. Value parameter is ignored.


trans

Executes the transition command, identical to pressing the Trans button. Value parameter is ignored.


previewbus

Returns a (zero-based) index of the currently selected video source for the preview bus. Value parameter is ignored.


programbus

Returns a (zero-based) index of the currently selected video source for the program bus. Value parameter is ignored.


Example


The following example selects camera 1 in the program bus.



apiwrite switcher, program, Camera 1