Skip to main content

OutputState

Electron APIs / recorder / OutputState

type OutputState = "idle" | "starting" | "active";

Lifecycle of the recording or replays output.

ValueMeaning
idleNot started.
startingStart accepted, output not running yet - OBS waits for a capture source to hook.
activeRunning and producing frames.

An output stays starting for as long as its capture source fails to hook, with no timeout. Operations that need a running output - captureReplay, splitRecording - fail with CaptureSourceNotHooked while it does.

See​