提交工单
咨询集成、功能及报价等问题
Re-enables a previously forbidden live stream to be published to CDN,Applicable to the direct push CDN scenario. If you need to apply it to the relay CDN scenario, please use the Start forwarding a stream to CDN interface.
For the first use of this interface, you need to contact ZEGOCLOUD technical support for configuration.
Listed below are the parameters specific to this request and part of the public request parameters. For the complete list of public request parameters, see Server APIs public request parameters.
Parameter | Type | Required | Description |
---|---|---|---|
StreamId |
String |
Yes |
Stream ID. |
https://rtc-api.zego.im/?Action=ResumeCDNLiveStream
&StreamId=stream001
&<Public Request Parameters>
Parameter | Type | Description |
---|---|---|
Code |
Number |
Return code. |
Message |
String |
Description of the request execution result. |
RequestId |
String |
Request ID. |
Data |
Array of Object |
Returned data. |
└ CdnType |
String |
CDN Type.
|
└ CdnResult |
String |
CDN processing result. |
{
"Code": 0,
"Message": "success",
"Data": [
{
"CdnType": "ws",
"CdnResult": "Resume tasks added successfully."
}
],
"RequestId": "3162938795049910659"
}
Listed below are the return codes related to this API. For the complete list of return codes, see Return codes.
Return Code | Description | Handling Suggestions |
---|---|---|
0 | Request succeeded. | - |
1 | Request failed. | - |
2 | Parameter error. | - |
3 | Authentication failed. | Please check if the authentication parameters are correct. |