start-live

Use the interface to start streaming.

Only available for users with administrative rights.

You can stop streaming by using stop-live.

It is available for the following product family.

  • Ultra Stream

Prototype

Protocol HTTP/HTTPS GET
URL ip[:port]/socket/usapi?method=start-live&sc-client-id=xxx
Data Format Response:Content-Type: application/json

Request URL

Parameter Description
method start-live
sc-client-id Specify the device SN which will start streaming.

Request Cookies

Parameter Description
mwcloud-sid A string value that is used to uniquely identify user logged-in.
mwcloud-uid Current logged-in username.

Request Example

GET /socket/usapi?method=start-live&sc-client-id=D301210104248 HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin

Response Parameters

Response Header
Parameter Description
Content-Type Value: 'application/json
Response Body
Parameter Description
result Result code. The options are as follows:
  • 0: success.
  • 1: repeat operations.
  • -53: configuration error.
  • Other values. For details about the result codes, please refer to API Status.

Response Example

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": 0
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""