Live Streaming. Note: The selected file must be pushed to the /sdcard/DCIM/Camera directory on the cloud phone. Files can be uploaded via the File Push API.
POST /api/v1/cloudPhone/live
| Parameter | Type | Required | Description |
|---|---|---|---|
| image_id | string | Yes | Cloud Phone IDs, can be obtained from the cloud phone list |
| id | string | No | The ID of the video file to be played. It can be obtained via the File List API. This field is required when status = 1. The file must already be pushed to the /sdcard/DCIM/Camera directory on the cloud phone. Files can be uploaded via the File Push API |
| status | integer | No | Switch. 1 for On, 2 for Off. Default: Off |
| loop | integer | No | Loop play. 1 for On, 2 for Off. Default: On |
{
"image_id": "xxxx",
"id": "xxxx",
"status": 1,
"loop": 2
}
{
"code": 200,
"data": {
"message": "Success"
},
"message": "Success"
}