Controlling vMix with OctoCue

OctoCue can control vMix using the vMix TCP API, and a common task would be to trigger a vMix script.

Assuming you have two vMix scripts named octocue_next and octocue_back, here's how to edit tcp.json.

note

This is stored in %APPDATA%\OctoCue receiver\storage on Windows

{
"useTcp": true,
"localPort": 57123,
"localAddress": "0.0.0.0",
"remotePort": 8099,
"remoteAddress": "127.0.0.1",
"next": "FUNCTION StartScript Value=octocue_next\r\n",
"back": "FUNCTION StartScript Value=octocue_back\r\n"
}

If you'd like to control list items directly without using any vMix scripts, use the following configuration - this will work for image lists, video lists and imported PowerPoint decks.

{
"useTcp": true,
"localPort": 57123,
"localAddress": "0.0.0.0",
"remotePort": 8099,
"remoteAddress": "127.0.0.1",
"next": "FUNCTION NextItem\r\n",
"back": "FUNCTION PreviousItem\r\n"
}

Note: If you're not running vMix and OctoCue receiver on the same machine, update the remoteAddress IP to suit.

After saving your changes, restart OctoCue Receiver.

Take a look at the advanced receiver configuration page for full details of TCP options.