Creating an RTMP push input - AWS Elemental MediaLive

Creating an RTMP push input

Create your input before you create the channel that ingests the input.

For information about the types of RTMP inputs that MediaLive supports, see Supported Input Types and Upstream Systems.

To create an RTMP push input

  1. Obtain the ID of the input security group that you will use with this input. (Or if you will create an input security group at the same time as you create this input, obtain the IP addresses for the input security group.)

  2. From the upstream system, obtain the application name and application instance that you identified when planning the workflow. You need two sources for an input in a standard channel, or one source for an input in a single-pipeline channel.

  3. Open the MediaLive console at https://console.aws.amazon.com/medialive/.

  4. In the navigation pane, choose Inputs.

  5. On the Inputs page, choose Create input.

  6. In the Input details section, for Input name, enter a name.

  7. For Input type, choose RTMP (push).

  8. In the Network mode section, choose Public.

  9. In the Input security group section, specify the group to attach to this push input. You can choose an existing group, or you can create a group. For more information about security groups, see Working with Input Security Groups.

  10. In the Channel and input class section, choose the class for this input:

    • STANDARD

    • SINGLE-PIPELINE

    For more information, see Channel class—implementing pipeline redundancy.

  11. In the Input destinations section, in the Destination section, enter the application names and application instances you previously obtained:

    • If the input is a standard input, complete both fields, to specify two sources.

    • If the input is a single-pipeline input, complete the first field with the information that you obtained and leave the second field empty.

  12. In the Tags section, create tags if you want to associate tags with this input. For more information, see Tagging AWS Elemental MediaLive Resources.

  13. Choose Create.

    MediaLive creates the input and automatically creates two endpoints on that input. The endpoints include the application name, the application instance, and the port 1935. For example:

    rtmp://203.59.21.13:1935/live/curling

    rtmp://59.21.13.191:1935/live/curling2

    MediaLive always creates two endpoints:

    • If the channel for this input will be set up as a standard channel, both endpoints will be used.

    • If the channel for this input will be set up as a single-pipeline channel, only the first endpoint will be used. MediaLive won't expect to receive content at the second endpoint.

  14. Provide the upstream system with the following information:

    • If the channel for this input will be set up as a standard channel, provide both locations. The upstream system must push the video streams to these locations.

    • If the channel for this input will be set up as a single-pipeline channel, provide only the first location. The upstream system must push its one stream to this location.