actionByName
Use the interface to start/strop streaming by name.
Request Mode
POST/GET http://ip/V1.0/stream/actionByName?name=clock&start=true&controlYouTubeLive=true
Request Data
Parameter | Type | Description |
---|---|---|
name | String | The stream server's name |
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. |