Skip to content
Changelog

panic.privacy

Switches to a privacy scene and mutes the microphones, or goes back to how things were.

JSON-RPC 2.0Changes what viewers see or hearproject.write

The privacy scene is the one named, or a scene whose name has "Be right back", "BRB" or "privacy" in it. Turning it off puts the scene that was on air back and unmutes what it muted.

Parameters

  • onbooleanOn (true) or off (false). Default true.
  • scenestringThe privacy scene's id or name.

Errors

A state error (-32005) when there's no privacy scene: make a "Be right back" scene.

Events

Subscribers to events get panic.state, scene.program, audio.mute.

From an AI agent

The MCP server's panic (action: privacy or privacy_off) 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

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "panic.privacy",
"params": {}
}

panic.mute_all · panic.stop_all