Start live streaming an uploaded MP4 on a Cloud Phone.
- Preconditions: the phone must be powered on and not held by another member, and the device must support live streaming. The
fileIdmust refer to a file uploaded as live-stream media that finished uploading; anything else is rejected as invalid or expired. - Completion: accepted, not complete. The response only confirms the service took the request. Poll
/cloudphone/live/statusuntilliveStatusis1. - Note: the MP4-only restriction is enforced when you upload the file, not here.
- Retry: no deduplication; a repeat call re-issues the start command.
Documented business errors: 33300, 33301, 33401, 33418. See Error Codes for what each code means. Any operation can additionally return the common codes.
- MoreLogin Local endpointhttp://127.0.0.1:40000/api/cloudphone/live/start
curl -i -X POST \
http://127.0.0.1:40000/api/cloudphone/live/start \
-H 'Content-Type: application/json' \
-d '{
"phoneId": "190000000000000001",
"fileId": "820000000000000001"
}'Request processed; inspect code for the business result
Response
{ "code": 0, "msg": null, "data": true, "requestId": "1d4f3ea968664593860b94b35d4ebf5e" }