Create a multicast input
Use the following procedure to create a multicast input in the MediaLive console. Before you start, collect the details that are listed in Obtain information.
To create a multicast input
-
Open the MediaLive console at https://console.aws.amazon.com/medialive/
. -
In the navigation pane, choose Inputs. On the Inputs page, choose Create input.
-
For Input name, enter a name for the input.
-
For Input type, choose Multicast.
-
Complete the multicast source fields as described in the table that follows this procedure. Complete the Secondary source section only if the upstream system sends a second copy of the stream for SMPTE 2022-7 seamless protection switching.
-
(Optional) In the Tags section, create tags to associate with this input. For more information, see Tagging resources.
-
Choose Create.
MediaLive creates the input and adds it to the list on the Inputs page.
The input identifies the multicast group, or groups, to join. When you start a channel that uses the input, the node joins the group and receives the stream. The node joins on the logical interface that you choose when you attach the input to the channel.
The following table describes the fields for a multicast input.
| Field | Description |
|---|---|
| Multicast URL | Required. The URL of the multicast stream, in the form
|
| Multicast source IP | Optional. The IP address of the device that sends the multicast
stream. Complete this field when the network uses source-specific
multicast (SSM), or when several senders use the same group and you
want to receive only one of them. For example,
|
| Secondary source – Secondary URL | Optional. The URL of the second copy of the stream, for SMPTE 2022-7 seamless protection switching. Use the same URL form as Multicast URL. The second copy can use the same group and port as the first copy, or a different group and port. It must arrive on a different network interface of the node. When you complete this field, you must choose two logical interfaces when you attach the input to the channel. For more information, see SMPTE 2022-7 seamless protection switching for multicast inputs. |
| Secondary source – Secondary source IP | Optional. The IP address of the device that sends the second copy of the stream, for SSM. You can complete this field only when you also complete Secondary URL. |
If you use the MediaLive API or the AWS CLI instead of the console, use the members of
MulticastSettings in the input. The following table shows the API
member for each console field.
| Console field | API member |
|---|---|
| Multicast URL | Sources[0].Url |
| Multicast source IP | Sources[0].SourceIp |
| Secondary URL | Sources[0].SecondaryUrl |
| Secondary source IP | Sources[0].SecondarySourceIp |
You can add or remove the secondary source later by editing the input. Before you edit the input, detach it from every channel. You can then change the logical interfaces on the input attachment when you attach the input again. For more information, see Editing an input.