Skip to content

Remote control

Nathan Bonnell edited this page Nov 13, 2026 · 2 revisions

Remote control

You can drive the desk from a phone or tablet, from a control surface, from your own program, from keyboard shortcuts, from triggers and from scripts. All of them use one list of named functions.

Keyboard shortcuts

Click ? in the top bar to see this list in the program.

Key What it does
1 to 9 Put the input with that number in preview
Shift + 1 to 9 Take that input on air with the quick play transition
Space Cut
Enter Take the preview on air (quick play transition)
F11 In an output window: full screen
Esc In an output window: close it

The number is the input's position on the desk, shown on its card. Keys do nothing while you are typing in a text box.

You can add your own in Settings, Shortcuts: click Add a shortcut, then fill in a key (for example F1), a function, an input and a value. If a key of yours is pressed, only your shortcut runs, not the default.

The web controller

Open http://127.0.0.1:8088/ in a browser on the computer running LiveCraft. The page has Cut, Fade and Fade to black buttons and one button per input: tap an input to put it in preview. Orange is preview, green is on air. A link leads to the Telestrator page at /telestrator, for drawing from a tablet.

Reach it from a phone or tablet

By default, remote control listens only on this computer. To open it to your network:

  1. Settings, Web control.
  2. Tick Reachable from the local network. Optionally set a Password.
  3. Restart LiveCraft. These two settings take effect at the next start.
  4. On the phone, open http://<the computer's address>:8088/.

When a password is set, other computers must give it with HTTP basic authentication: any user name, and that password. This computer is never asked. The TCP interface has no way to give a password, so setting one closes TCP to other computers.

The settings tab shows: "Web control and API on port 8088, TCP API on port 8099." If another program already uses a port, LiveCraft says "Port 8088 already in use" (or 8099). The ports cannot be changed.

Web pages that you open in a browser on this computer cannot use the controller from another site: LiveCraft turns such requests away.

The HTTP API

Everything is a plain GET request to /api/.

Request What it does
/api/ Returns the state as XML: inputs (number, name, type, play state, position, duration, muted, loop), overlays, preview, active (program), fade to black, transitions, and whether recording, streaming, the playlist and multi-record are running
/api/?Function=Cut Runs a function. Answers "Function completed successfully." or an error

Add these parameters, in any case, to give a function what it needs:

Parameter Meaning
Input Which input: its number (1 and up), 0 for the one in preview, -1 for the one in program, its name, or its key. Without it, the input in preview
Value A value, for example a text or a volume
Duration Length in milliseconds, for transitions
SelectedName Which text of a title, for SetText

Examples:

http://127.0.0.1:8088/api/?Function=Fade&Input=2&Duration=1000
http://127.0.0.1:8088/api/?Function=SetText&Input=Lower%20third&Value=Hello
http://127.0.0.1:8088/api/?Function=StartRecording

A transition function with an Input puts that input in preview first. Function names are not case sensitive.

LiveCraft uses the same function names and the same XML shape as software in the same family, so control surfaces and scripts written for those can often connect. This is for convenience: LiveCraft is not affiliated with those products.

The TCP API

Connect to port 8099 and send one line per command, ending with a new line:

Command Reply
FUNCTION <name> <query> FUNCTION OK Completed, or FUNCTION ER <reason>. The query is like the HTTP one: FUNCTION Fade Input=2&Duration=1000
XML XML <length>, then the same XML as /api/
TALLY TALLY OK <digits>: one digit per input, 0 off, 1 on air, 2 in preview
SUBSCRIBE TALLY Sends a TALLY OK ... line each time the tally changes. UNSUBSCRIBE TALLY stops it
QUIT Closes the connection

Functions

Names are the ones the buttons, shortcuts, triggers and scripts share.

Switching: Cut, Fade, AlphaFade, Merge, Zoom, Wipe, WipeReverse, VerticalWipe, VerticalWipeReverse, Slide, SlideReverse, VerticalSlide, VerticalSlideReverse, Fly, FlyRotate, CrossZoom, Cube, CubeZoom, BarnDoor, RollerDoor, Stinger1 to Stinger8, Transition1 to Transition4 (the four buttons), CutDirect, ActiveInput, QuickPlay, FadeToBlack, SetFader (0 to 255), PreviewInput, PreviewInputNext, PreviewInputPrevious, Undo.

Overlays: OverlayInput1 to OverlayInput8 (toggle), with the endings In, Out, Off and Last (for example OverlayInput3In), and OverlayInputAllOff.

Playback: Play, Pause, PlayPause, Restart, Loop, LoopOn, LoopOff, SetPosition (milliseconds), NextItem, PreviousItem, NextPicture, PreviousPicture, SelectIndex (from 1).

Titles and countdowns: SetText, StartCountdown, PauseCountdown, StopCountdown, SetCountdown, SetInputName.

Show clock: StartShowClock, PauseShowClock, StartPauseShowClock, ResetShowClock. See Titles.

Picture: SetZoom, SetPanX, SetPanY, SetAlpha (0 to 255), MirrorOn, MirrorOff, LayerOn, LayerOff, LayerOnOff (Value is the layer number), VirtualSet, RemoveInput, SetVideoDelay (Value is milliseconds), SetVideoDelaySource (Value is an input number, name or key; empty for none). See Inputs.

Audio: Audio, AudioOn, AudioOff, AudioAuto, AudioAutoOn, AudioAutoOff, AudioBus, AudioBusOn, AudioBusOff (Value is M or A to G), SetVolume, SetGain, SetBalance, SetMasterVolume, MasterAudio, MasterAudioOn, MasterAudioOff, Solo, SoloOn, SoloOff, SoloAllOff.

Outputs: StartRecording, StopRecording, StartStopRecording, StartStreaming, StopStreaming, StartStopStreaming, StartMultiCorder, StopMultiCorder, StartStopMultiCorder, StartSRTOutput, StopSRTOutput, StartPlayList, StopPlayList, NextPlayListEntry.

Scripts: ScriptStart (Value is the script's name), ScriptStopAll.

On the Telestrator page, TelestratorStroke, TelestratorUndo and TelestratorClear are also accepted.

An unknown name gives "Unknown function: ".

Scripts

Settings, Scripts, Add a script. A script is a list of lines that run in order:

API.Function("Fade",Input:="2",Duration:=1000)
Sleep(1000)
For i = 1 To 3
Cut
Next
  • API.Function("Name",Input:="2",Duration:=1000), or the short form Name Input=2 Duration=1000.
  • Sleep(ms) waits.
  • For ... To n and Next, and Do and Loop, repeat lines.
  • A line starting with ' is a comment.

Run starts a script and Stop all stops every running script. ScriptStart runs one from a shortcut, a trigger or the API.

Triggers

An input can run functions by itself when something happens to it. See the Triggers tab in Inputs.

Clone this wiki locally