Modifies an output of a MediaConnect flow.
Operation description
- You can modify an output only when the flow is in the offline state.
- The output type cannot be modified.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| ice:UpdateMediaConnectFlowOutput | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| FlowId | string | Yes | The flow ID. | 34900dc6-90ec-4968-af3c-fcd87f231a5f |
| OutputName | string | Yes | The output name. | AliTestOutput |
| Cidrs | string | No | The IP address whitelist. | 19.168.1.1/32,18.168.1.1/16 |
| SrtLatency | string | No | The latency for the SRT stream. You can modify this parameter only when the source type is SRT-Listener or SRT-Caller. | 1000 |
| SrtPassphrase | string | No | The SRT key. You can modify this parameter only when the source type is SRT-Listener or SRT-Caller. | FICUBPX4Q77DYHRF |
| SrtPbkeyLen | string | No | The encryption key length. You can modify this parameter only when the source type is SRT-Listener or SRT-Caller. | 32 |
| OutputToUrl | string | No | The output URL. You can modify this parameter only when the output type is RTMP-PUSH or SRT-Caller. | rtmp://push.test.alivecdn.com/live/alitest |
| PlayerLimit | string | No | The maximum number of viewers. | 5 |
Response parameters
Examples
Sample success responses
JSONformat
{
"Content": "",
"Description": "OK",
"RetCode": 0,
"RequestId": "D737D0BC-4CB5-55AA-8119-B540C95DFE6A"
}Error codes
For a list of error codes, visit the Service error codes.
