panic.stop_all
Stops everything going out: the stream, the recording and the virtual camera.
JSON-RPC 2.0Changes what viewers see or hearproject.write
What isn't running is left as it is. An AI agent connected over MCP asks the person first while Lightair is live or recording, unless AI agents may go live without asking is on in Settings › Remote API.
Parameters
None.
Events
Subscribers to events get panic.state, stream.state, record.state, vcam.state, output.changed.
From an AI agent
The MCP server's panic (action: stop_all) reaches this method. Because it changes what viewers see or hear, Lightair can ask the person first: see the MCP server for when it asks.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "panic.stop_all"}lightair call panic.stop_allconst result = lightair.call("panic.stop_all", {});