Start streaming

1. API Description

This API is used to start streaming.

Request mode:

  • V2.6.0 and above: POST [ip]/mwapi/V2.0/stream/start-streaming
  • V2.5.0 and below: POST [ip]/mwapi/start-streaming
Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
id Yes Int Streaming server ID, which can be obtained via Get streaming server list

3. Output Parameters

Name Type Description
status Int Status code
message String Status description

4. Example

Making the streaming server with ID 1000 starting streaming.

Input Example
{
    "id":1000
}
Output Example
{
    "message": "success",
    "status": 0
}

5. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Status Definition Description
7 MW_STATUS_INVALID_ARG Missing required parameters
11 MW_STATUS_DEVICE_BUSY Limited by the number of current live streaming tasks
16 MW_STATUS_NOT_EXIST The server does not exist

results matching ""

    No results matching ""