Use this API to close a specified video stream.
| Item | Specification |
|---|
| Protocol | HTTP or HTTPS |
| Method | POST |
| Encoding | UTF-8 |
| Format | All request and response parameters use JSON |
- Recommended timeout: 7s
- Internal processing timeout is 3s with one automatic retry. Normal response time is within 100ms.
| Cluster | Request URL | Supported Products |
|---|
| Shanghai Video Stream | http://api-videostream-sh.fengkongcloud.com/finish_videostream/v4 | Chinese Video Stream |
| Singapore Video Stream | http://api-videostream-xjp.fengkongcloud.com/finish_videostream/v4 | Chinese Video Stream, English Video Stream, Arabic Video Stream |
| Parameter | Type | Required | Max Length | Description |
|---|
accessKey | string | Yes | 20 | Company key for authentication, provided by ISHUMEI when the service is activated. |
requestId | string | Yes | 32 | The requestId of the video stream to close. |
{
"accessKey": "YOUR_ACCESS_KEY",
"requestId": "1639824316368"
}
| Parameter | Type | Required | Description |
|---|
requestId | string | Yes | Unique ISHUMEI request identifier. |
code | int32 | Yes | Response code. See Response Codes. |
message | string | Yes | Response message corresponding to the code. See Response Codes. |
| Code | Message | Description |
|---|
1100 | Success | The request completed successfully. |
1901 | QPS limit exceeded | The request rate limit has been exceeded. |
1902 | Invalid parameters | One or more request parameters are invalid. |
1903 | Service failure | An internal service error occurred. |
1904 | Stream count limit exceeded | The maximum number of concurrent streams has been reached. |
9101 | Unauthorized operation | The provided accessKey does not have permission for this operation. |
{
"code": 1100,
"message": "Success",
"requestId": "a78eef377079acc6cdec24967ecde722"
}