Domain name for API request: mdc.tencentcloudapi.com.
This API is used to modify the input information of a MediaConnect flow.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: ModifyMediaConnectInput. |
Version | Yes | String | Common parameter. The value used for this API: 2020-08-28. |
Region | Yes | String | Common parameter. For more information, please see the list of regions supported by the product. |
FlowId | Yes | String | Flow ID. |
Input | Yes | ModifyInput | Information of the input to be modified. |
Parameter Name | Type | Description |
---|---|---|
Info | DescribeInput | Input information after modification. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mdc.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyMediaConnectInput
<Common request parameters>
{"FlowId":"01746cfeda560956b92d34d30445","Input":{"InputId":"01746cfeda570956b92d34d30446","InputName":"inputname","Description":"inputnameDescription","AllowIpList":["0.0.0.0/0"],"SRTSettings":{"Latency":1000,"RecvLatency":1000,"PeerLatency":0,"PeerIdleTimeout":1000,"Passphrase":"aaaaaaaaaa","PbKeyLen":32},"RTPSettings":{"FEC":"","IdleTimeout":0}}}
{
"Response": {
"Info": {
"InputId": "01746cfeda570956b92d34d30446",
"InputName": "inputname",
"Description": "inputname Description",
"Protocol": "SRT",
"InputAddressList": [
{
"Ip": "1.1.1.1",
"Port": 1
},
{
"Ip": "1.1.1.1",
"Port": 1
}
],
"AllowIpList": [
"0.0.0.0/0"
],
"SRTSettings": {
"Latency": 1000,
"RecvLatency": 1000,
"PeerLatency": 0,
"PeerIdleTimeout": 1000,
"Passphrase": "aaaaaaaaaa",
"PbKeyLen": 32
},
"RTPSettings": {
"FEC": "",
"IdleTimeout": 0
}
},
"RequestId": "aaaaa"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error. |
InvalidParameter.Id | Invalid ID. |
InvalidParameter.Input | Invalid input. |
InvalidParameter.State | Unexpected status. |
Was this page helpful?