All Products
Search
Document Center

Intelligent Media Services:GetMediaConnectFlowOutput

Last Updated:Dec 23, 2025

Obtains information about an output of a MediaConnect flow.

Operation description

  • When the specified flow ID is not available, an error code is returned.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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 Resources is 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.
OperationAccess levelResource typeCondition keyAssociated operation
ice:GetMediaConnectFlowOutputcreate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
FlowIdstringYes

The flow ID.

0381f478-7d53-4076-9d5f-27680a6f73e7
OutputNamestringYes

The name of the output that you want to query.

AliTestOutput

Response parameters

ParameterTypeDescriptionExample
object

The response content.

Contentobject

The response body.

OutputNamestring

The output name.

AliTestInput
OutputProtocolstring

The output type.

Valid values:

  • RTMP-PUSH
  • SRT-Caller
  • RTMP-PULL
  • SRT-Listener
  • Flow
SRT-PULL
Cidrsstring

The IP address whitelist in CIDR format. CIDR blocks are separated with commas (,).

10.211.0.0/17
OutputUrlstring

The output URL.

srt://1.2.3.4:1025
SrtLatencyinteger

The latency for the SRT stream. Unit: milliseconds. This parameter is returned when the source type is SRT-Listener or SRT-Caller.

1000
SrtPassphrasestring

The SRT key. This parameter is returned when the source type is SRT-Listener or SRT-Caller.

FICUBPX4Q77DYHRF
SrtPbkeyLeninteger

The encryption key length. This parameter is returned when the source type is SRT-Listener or SRT-Caller.

Valid values:

  • 0
  • 16
  • 24
  • 32
32
PairFlowIdstring

The ID of the destination flow. This parameter is returned when the output type is Flow.

805fbdd0-575e-4146-b35d-ec7f63937b20
PairInputNamestring

The source name of the destination flow. This parameter is returned when the output type is Flow.

AliTestInput
PlayerLimitinteger

The maximum number of viewers.

5
CreateTimestring

The time when the flow was created.

2024-07-18T01:29:24Z
Descriptionstring

The call description.

OK
RetCodeinteger

The returned error code. A value of 0 indicates the call is successful.

0
RequestIdstring

The ID of the request.

0DB23DCE-0D69-598B-AA7C-7268D55E2F89

Examples

Sample success responses

JSONformat

{
  "Content": {
    "OutputName": "AliTestInput",
    "OutputProtocol": "SRT-PULL",
    "Cidrs": "10.211.0.0/17",
    "OutputUrl": "srt://1.2.3.4:1025",
    "SrtLatency": 1000,
    "SrtPassphrase": "FICUBPX4Q77DYHRF",
    "SrtPbkeyLen": 32,
    "PairFlowId": "805fbdd0-575e-4146-b35d-ec7f63937b20",
    "PairInputName": "AliTestInput",
    "PlayerLimit": 5,
    "CreateTime": "2024-07-18T01:29:24Z"
  },
  "Description": "OK",
  "RetCode": 0,
  "RequestId": "0DB23DCE-0D69-598B-AA7C-7268D55E2F89"
}

Error codes

For a list of error codes, visit the Service error codes.