Cockpit
Cockpit is a CCTV-style surveillance board: a paginated, drag-and-drop grid of every live stream in the app. It fetches the app’s active streams and renders their public embed players in a grid you can reorder and page through.
| Plugin id | cockpit |
| Category | panel |
| UI slot | panel |
| Needs worker | No |
It is entirely client-side — the backend manifest only declares the plugin and its default config so the marketplace can list, install and configure it. When enabled, the dashboard mounts the Cockpit panel wherever a panel slot lives.
Configuration
Section titled “Configuration”| Field | Type | Default | Description |
|---|---|---|---|
gridSize |
select |
4x3 |
Grid layout. Options: 1x1, 2x2 (4), 3x3 (9), 4x3 (12). |
autoPlay |
boolean |
true |
Auto-play cameras as tiles appear. |
showLabels |
boolean |
true |
Show the stream label on each tile. |
refreshSeconds |
number |
10 |
Auto-refresh interval, in seconds (min 3, max 300). |
Enable and configure
Section titled “Enable and configure”Dashboard: open the app’s Plugins tab → Install Cockpit → toggle Active → Configure to pick the grid size and refresh interval.
API:
curl -X PATCH https://YOUR-DOMAIN/api/v1/apps/live/plugins/cockpit \ -H "Authorization: Bearer sk_..." \ -H "Content-Type: application/json" \ -d '{"enabled": true, "config": {"gridSize": "3x3", "refreshSeconds": 15}}'