Stop streaming
1. API Description
This API is used to stop streaming.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/stream/stop-streaming
- V2.5.0 and below: POST [ip]/mwapi/stop-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 stopping 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 |
| 16 | MW_STATUS_NOT_EXIST | The server does not exist |