Skip to content
Changelog

camera.status

Gives each Phone camera layer's phone, picture, connection and latency.

JSON-RPC 2.0project.read

latency times each stage from the moment the phone captured the frame: arrived, decoded and drawn, each with median_ms, min_ms, max_ms and frames.

Parameters

  • sourcestringOne layer's source id or name. Without it, every layer.

Result

  • cameras{ source: string, connected: boolean, phone: { name: string, model: string, platform: string } | null, picture: boolean, usb: boolean, rotation: number, latency: object, received_kbps: number, state: object | null, health: object | null, tally: object | null }[]Each layer.
  • srt_portnumberThe port phones send their picture to.

Errors

Not found (-32004) for an unknown layer.

From an AI agent

The MCP server's phone_camera (action: status) reaches this method.

Example

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

camera.pair · camera.control