# stream.stop

Source: https://docs.lightair.app/developers/remote-api/stream.stop

> Ends the stream on every destination.

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

An AI agent connected over MCP asks the person first, unless **AI agents may go live without asking** is on in **Settings › Remote API**. Other clients aren't asked.

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `active` | `boolean` | no | false. |

## Errors

A state error (-32005) when not live.

## Events

- `stream.state`
- `output.changed`

## From an AI agent

The MCP server's `streaming (action: stop)` reaches this method. Because it changes what viewers see or hear, Lightair can ask the person first.

## Example

```json
{ "jsonrpc": "2.0", "id": 1, "method": "stream.stop", "params": {} }
```

Result:

```json
{ "active": false }
```

## Related

- [stream.start](https://docs.lightair.app/developers/remote-api/stream.start.md)
- [output.stop](https://docs.lightair.app/developers/remote-api/output.stop.md)
- [panic.stop_all](https://docs.lightair.app/developers/remote-api/panic.stop_all.md)
