actionByIndex
Use the interface to start/stop streaming by index.
Request Mode
POST/GET http://ip/V1.0/stream/actionByIndex?index=1&start=true&controlYouTubeLive=true
Request Data
Parameter | Type | Description |
---|---|---|
index | Int | The index of stream server in the list, which can be 1, 2... |
start | Bool | Control streaming. True: start, False: stop Non-essential parameter. Without this parameter, the device automatically starts/stops streaming. |
controlYouTubeLive | Bool | Whether to change the live stream state of YouTube channel at the same time. Non-essential parameter, only taking effect for YouTube live streaming. It is set to false by default. |