Managers
This article contains manager commands reference
A manager is an instance of VT_Publisher.exe or VT_Receiver.exe running at a given location. And VT_Server.exe instance acts both as publisher and receiver.
To keep an actual list of managers you need to handle the following events:
  • on_join
  • on_leave
  • on_props_set
Below is the list of commands available for manager instances.

channels_enum

Get the list of channels sorted by channel type:
  • all - get all channels (Publisher: SOURCES panel, Receiver: selector for STREAM TO)
  • ready - get channels that are ready to publish (Publisher: SOURCES panel)
  • output - get channels that have at least one connected client (Publisher: OUT panel, Receiver: IN panel) )
JSON request example:
JSON callback example:
Channel types reference:
Value
Type
0
None
1
NDI
2
SDI
3
MP_Link
4
URL
5
Screen Capture
6
Audio
7
Mixer
Channel states reference:
Value
State
0
Closed
1
Preview
2
Output
3
Preview_Output
4
Mixstream
5
Preview_mix
6
Output_Mix
7
Preview_Output_Mix
16
Disconnected
C# code example:

devices_enum

Get the list of available output devices. This command suits only the Receiver manager since Publisher doesn’t have any output besides streaming to other modules.
JSON request example:
JSON callback example:
C# code example:

mng_props_get

Get manager properties. The properties could be specified via "props_name", "node::props_name" or "node" (for node attributes list returned). You can read the properties list here.
JSON request example:
JSON callback example:
C# code example:

mng_props_set

Set manager properties.
JSON message example:
C# code example:

mng_props_remove

Remove manager properties.
JSON message example:
C# code example: