Skip to content
Changelog

record.toggle

Starts recording when not recording, and stops it when recording.

JSON-RPC 2.0outputs.control

Parameters

None.

Result

  • activebooleanWhether it's recording now.
  • pathstring | nullThe file, when it stopped.

Events

Subscribers to events get record.state, output.changed.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "record.toggle"
}

record.start · record.stop