streaming
When the stream server list on the device changes or it receives the Request for state synchronization, Director Mini device sends the data of stream server list to the receiver.
For how to configure the receiver, please refer to How to use TouchOSC to control Director Mini.
Address
/status/streaming [json string]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The data of stream server list |
Example
After receiving Request for state synchronization, Director Mini device sends the data of stream server list to the receiver.
/status/streaming {"serverList":[{"id":1706067028475,"name":"Facebook Live","isConfigured":false,"isStreaming":false,"duration":"00:00","bitrate":"0 Mbps","status":0},{"id":1706067028477,"name":"RTMP Serv34434","isConfigured":true,"isStreaming":true,"duration":"00:13","bitrate":"11.23 Mbps","status":2},{"id":1706067028478,"name":"SRT Caller","isConfigured":false,"isStreaming":false,"duration":"00:00","bitrate":"0 Mbps","status":0}]}
Name | Type | Description |
---|---|---|
id | Long | The unique ID of stream server |
name | String | The name of stream server |
isStreaming | Boolean | Whether the server is streaming. true: Yes, false: No |
isConfigured | Boolean | Whether the configuration of stream server is complete. true: Yes, false: No |
duration | String | Live streaming duration |
bitrate | String | Live streaming transition rate |
status | Int | The connection status of stream server 0: Not connected, or Waiting for reconnection after a previous connection failure 1: Connecting 2: Connected 3: Connection failed or disconnected |