# panic.stop_all

Source: https://docs.lightair.app/developers/remote-api/panic.stop_all

> Stops everything going out: the stream, the recording and the virtual camera.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Panic. It changes what viewers see or hear. Script plugins need the `project.write` permission.

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

- `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.

## Related

- [stream.stop](https://docs.lightair.app/developers/remote-api/stream.stop.md)
- [record.stop](https://docs.lightair.app/developers/remote-api/record.stop.md)
- [piair.stop](https://docs.lightair.app/developers/remote-api/piair.stop.md)
