You can create, configure, and monitor MediaLive inputs to ensure the security and stability of content transmission. This topic describes how to manage MediaLive inputs.
Overview
An input is a media source that you want to transport to MediaLive for processing. To use MediaLive, you must create inputs.
You can configure a primary source and a secondary source for each input.
An input can be associated with only one channel.
Supported audio and video codecs: H.264 or H.265 for videos, and MP3 or AAC for audio.
Create an input
Log on to the IMS console. In the upper-left corner, select a region.
In the left-side navigation pane, choose MediaLive > Inputs. On the Security Groups tab, click Create Security Group. The following table describes the parameters.

Parameter
Description
Security Group Name
The name must be 1 to 64 characters in length, and can contain digits, letters, underscores (_), and hyphens (-).
IP Address Whitelist
The IP addresses that can pass verification by security groups. Specify IP addresses as CIDR blocks and separate multiple CIDR blocks by line breaks.
NoteYou need to configure a security group only when the input type is PUSH.
Click OK.
Click the Inputs tab, and then click Create Input.

The following table describes the parameters.
Parameter
Description
Input Name
The name of the input. It must be 1 to 64 characters in length, and can contain digits, letters, underscores (_), and hyphens (-).
Input Type
Valid values:
SRT-PUSH
SRT-PULL
RTMP-PUSH
RTMP-PULL
MediaConnect
NoteFor PUSH inputs, the systems generates URLs to which you can push your stream. The stream can be pushed only when the associated channel is running.
For PULL inputs, prepare the URL of the source stream. MediaLive will pull content from this URL when data is available.
For inputs from MediaConnect, specify the flow ID amd its output.
PUSH inputs
Primary Stream Name
Required. The name of the primary stream.
Backup Stream Name
Optional. The name of the backup stream.
Select Security Group
Select the security group created in Step 2.
You can also click the following button to create one:
NoteBefore you modify or delete a security group, you must disassociate it from the input.
PULL inputs
Primary URL
Required. The primary ingest URL, which starts with rtmp:// or srt://.
Backup URL
Optional. The backup ingest URL, which starts with rtmp:// or srt://.
Inputs from MediaConnect
Primary Flow
Required. Specify the Flow ID and output name of MediaConnect. To obtain the information, go to Flows page.
Secondary Flow
Optional. Specify the Flow ID and output name of MediaConnect. To obtain the information, go to Flows page.
Click OK.
For inputs that are not associated with a channel, you can click Modify or Delete in the Actions column on the Inputs page.
View inputs
On the Inputs tab of the Inputs page, created inputs are displayed in order of creation time. The first input is the latest created one.
The following input information is displayed: Input ID/Name, Input Type, Input Source, and Channel Association. You can edit or delete an output in the Actions column. For more information, see View inputs.
You can click the refresh button on the right side of the Inputs tab to obtain the latest inputs. A maximum of 10 inputs are displayed on each page.

View security groups
On the Security Groups tab of the Inputs page, created security groups are displayed in order of creation time. The first security group is the latest created one.
The following information is displayed: Security Group ID, Security Group Name, IP Address Whitelist, and Associated Input. You can edit or delete a security group in the Actions column. For more information, see View security groups.
You can click the refresh button on the right side of the Security Groups tab to obtain the latest security groups. A maximum of 10 security groups are displayed on each page.
