Skip to content
Changelog

stream.toggle

Goes live when not live, and ends the stream when live.

JSON-RPC 2.0Changes what viewers see or hearoutputs.control

As stream.start and stream.stop. 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

  • activebooleanWhether it's live now.

Errors

As stream.start when it goes live.

Events

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

Example

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

stream.start · stream.stop