All Products
Search
Document Center

Intelligent Media Services:GetMediaLiveInput

Last Updated:Dec 23, 2025

Queries the details of a MediaLive input.

Operation description

QPS limit

This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation.

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:GetMediaLiveInputget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InputIdstringYes

The ID of the input.

SEGK5KA6KYKAWQQH

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

******11-DB8D-4A9A-875B-275798******
Inputobject

The input information.

InputIdstring

The ID of the input.

SEGK5KA6KYKAWQQH
Namestring

The name of the input.

myinput
Typestring

The input type.

RTMP_PUSH
InputInfosarray<object>

The input configurations.

InputInfoobject
DestHoststring

The endpoint that the stream is pushed to. This parameter is returned for PUSH inputs.

rtmp://domain/app/stream
StreamNamestring

The name of the pushed stream. This parameter is returned for PUSH inputs.

mystream
SourceUrlstring

The source URL where the stream is pulled from. This parameter is returned for PULL inputs.

rtmp://domain/app/stream
MonitorUrlstring

The URL for input monitoring.

rtmp://domain/app/stream_for_monitor
FlowIdstring

The ID of the flow from MediaConnect.

******81-9693-40dc-bbab-db5e49******
FlowOutputNamestring

The output name of the MediaConnect flow.

myFlowOutputName
CreateTimestring

The time when the input was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2024-12-03T06:56:42Z
ChannelIdsarray

The IDs of the channels associated with the input.

channelIdstring

The ID of the channel.

SEGK5KA6KYKAWQQH
SecurityGroupIdsarray

The IDs of the security groups associated with the input.

securityGroupIdstring

The ID of the security group.

SEGK5KA6KYKAWQQH

Examples

Sample success responses

JSONformat

{
  "RequestId": "******11-DB8D-4A9A-875B-275798******",
  "Input": {
    "InputId": "SEGK5KA6KYKAWQQH",
    "Name": "myinput",
    "Type": "RTMP_PUSH",
    "InputInfos": [
      {
        "DestHost": "rtmp://domain/app/stream",
        "StreamName": "mystream",
        "SourceUrl": "rtmp://domain/app/stream",
        "MonitorUrl": "rtmp://domain/app/stream_for_monitor",
        "FlowId": "******81-9693-40dc-bbab-db5e49******",
        "FlowOutputName": "myFlowOutputName"
      }
    ],
    "CreateTime": "2024-12-03T06:56:42Z",
    "ChannelIds": [
      "SEGK5KA6KYKAWQQH"
    ],
    "SecurityGroupIds": [
      "SEGK5KA6KYKAWQQH"
    ]
  }
}

Error codes

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