# camera.status

Source: https://docs.lightair.app/developers/remote-api/camera.status

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

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Objects and sources. Script plugins need the `project.read` permission.

`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

| Name | Type | Required | Description |
|---|---|---|---|
| `source` | `string` | no | One layer's source id or name. Without it, every layer. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `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 }[]` | no | Each layer. |
| `srt_port` | `number` | no | The 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.

## Related

- [camera.pair](https://docs.lightair.app/developers/remote-api/camera.pair.md)
- [camera.control](https://docs.lightair.app/developers/remote-api/camera.control.md)
