outputs.list
Gives a short summary of the destinations and the recording, as Lightair Live's Outputs screen shows them.
JSON-RPC 2.0project.read
A destination's state is off, connecting, live, reconnecting or error; format is its canvas's name; message says why it failed. bitrate_kbps is worked out between calls. For the full detail, use output.list.
Parameters
None.
Result
- destinations{ id: string, platform: string, name: string, format: string, enabled: boolean, state: string, bitrate_kbps: number, dropped_pct: number, message?: string }[]Every destination.
- recording{ active: boolean, paused: boolean, elapsed_ms: number }The recording.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "outputs.list"}lightair call outputs.listconst result = lightair.call("outputs.list", {});