output.start
Starts streaming to one destination, leaving the others as they are.
JSON-RPC 2.0Changes what viewers see or hearoutputs.control
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
- outputstringrequiredA destination's id or name.
Result
- activebooleantrue.
Errors
Not found (-32004) for an unknown destination. A state error (-32005) when it's already live or has no stream key saved.
Events
Subscribers to events get output.changed, stream.state.
From an AI agent
The MCP server's outputs (action: start) 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": "output.start", "params": { "output": "Kick" }}lightair call output.start '{"output":"Kick"}'const result = lightair.call("output.start", {"output":"Kick"});Result
{ "active": true }