Remote control (UDP / TCP)
Axia Pathfinder Pro, Bitfocus Companion, a playout system or a script can switch embedders, SRT, start and end of broadcast and recording by sending simple text strings over UDP or TCP.
Switching remote control on#
Remote control is off by default. Open Settings → Remote control (Pathfinder, Companion):
123456789101112- Remote control: on / off.
- UDP and its port (default 9300).
- TCP and its port (default 9300).
- Listen on: all interfaces, this computer only, or one interface (for example the automation network).
- Answer UDP: reply to UDP commands at the sender's address. Turn off for senders that cannot take replies.
- Key: every command must carry it. Copy copies it.
- New key makes a new random key; the old one stops working at once (update your senders).
- Allowed senders: blank = anyone; or a list of addresses and ranges, such as
192.0.2.10, 10.1.0.0/16. - Save and Companion module (download; see Bitfocus Companion). Below: commands received and refused.
- Commands: the command set, written out with your key, ready to copy.
- Try a command: run any command against any embedder from here, with an optional duration, and see Galah's answer.
- Last commands received: when, from where (UDP or TCP), the command (key hidden) and the answer.
The status badge says Listening · UDP 9300 · TCP 9300 · 0 clients when it is running, with the number of TCP clients connected.
Command format#
GALAH <key> <command> [<embedder>] [<duration>]
- One command per line. Lines end with CR, LF or CR LF; a UDP datagram may hold one or several lines. A TCP line with no ending counts after 250 ms of silence, for senders that add none.
- Commands are not case-sensitive.
SRT_ON,SRT ONandSRT-ONall work. - <embedder> is its number in the embedder list (1, 2 …), its name, its output name or its ID. Quote names that contain spaces:
"Studio 2".ALLacts on every embedder.
| Command | Does |
|---|---|
ENABLE <e> / DISABLE <e> | Switch the embedder on / off. |
SRT_ON <e> / SRT_OFF <e> | Start / stop its SRT output. |
SOB_ON <e> [duration] / SOB_OFF <e> | Start of broadcast on (for the duration given, or the embedder's setting) / off. |
EOB_ON <e> [duration] / EOB_OFF <e> | End of broadcast on / cancel. |
REC_START <e> / REC_STOP <e> | Start / stop recording. |
STATUS [<e>] | Status of one embedder, or all. |
LIST | List the embedders with their numbers, IDs, names and output names. |
PING | Answers PONG; use it to check the connection. |
Durations#
For SOB_ON and EOB_ON a duration after the embedder overrides the embedder's setting for that run:
| Written | Means |
|---|---|
120 or 120s | 120 seconds |
2m, 1.5m, 1m30s | 2 minutes, 90 seconds, 90 seconds |
01:30, 1:00:00 | 90 seconds, one hour |
DURATION=01:30 | The same, anywhere in the line: SOB_ON "Studio 2" DURATION=01:30 |
0 | Start of broadcast: until SOB_OFF. |
| (none) | The embedder's own Show for setting. |
An unquoted name ending in a number, such as SOB_ON Studio 2, is matched as the whole name first, so it does not become embedder Studio with 2 seconds. Quote names to be sure.
Replies#
Galah answers on TCP, and on UDP to the sender (unless Answer UDP is off). A UDP datagram without the right key, from a sender that is not allowed, or that cannot be read gets no answer at all, so the port cannot be used to bounce traffic at someone else:
OK SRT_ON 1 "Presenter cam"
STATUS 1 e1 "Presenter cam" ENABLED=1 SRT=1 EOB=0 EOB_REMAINING=0 SOB=0 SOB_REMAINING=0 REC=0 INPUT=LIVE ONAIR=1 CONNECTIONS=2
END
PONG
ERR KEY
| STATUS field | Meaning |
|---|---|
ENABLED, SRT, REC | 1 = on. |
SOB, EOB and …_REMAINING | Whether a start / end of broadcast is running, and its seconds left. |
INPUT | LIVE, BACKUP, LOST or OFF. |
ONAIR | 1 when the output has at least one connection (NDI® / OMT or SRT receiver) — the same as a red tally bar. |
CONNECTIONS | Number of connections to the output. |
| Error | Cause |
|---|---|
ERR KEY | Wrong key. A sender that gives five wrong keys within a minute is ignored for a minute. |
ERR SYNTAX | The line does not start GALAH <key> <command>. |
ERR UNKNOWN_COMMAND | Not one of the commands above. |
ERR NO_EMBEDDER / ERR UNKNOWN_EMBEDDER | No embedder given, or none matches. |
ERR DURATION | The duration could not be read. |
ERR NOT_ALLOWED | The sender is not in Allowed senders. |
ERR BUSY | Too many TCP clients (32) are connected. |
Trying it out#
Use Try a command in the card, or send a string from any computer:

# macOS / Linux, TCP
printf 'GALAH K7QX2M9PLR4T STATUS\r\n' | nc studio2-embed 9300
# UDP
printf 'GALAH K7QX2M9PLR4T SOB_ON 1 120\r\n' | nc -u -w1 studio2-embed 9300
Axia Pathfinder Pro#
In Pathfinder Pro, add a UDP or TCP device for the Galah computer on port 9300, and use send string actions in your logic flows or buttons, for example:
- Studio on-air:
GALAH K7QX2M9PLR4T SOB_ON 1 30then, as the show starts,REC_START 1. - Show end:
GALAH K7QX2M9PLR4T EOB_ON ALL 15. - A button that toggles SRT:
SRT_ON 2/SRT_OFF 2, with a TCPSTATUS 2poll to light the button.
Pathfinder can also start and stop recordings through a GPIO pin instead; see Recording → GPIO.
Treat the key like a password. Anyone who has it and can reach the port can switch your embedders. Use Allowed senders and Listen on to limit who can connect.