Using a Generic RTMPS setup to stream to Amazon IVS requires a few more clicks within the Amazon IVS side as opposed to the Amazon IVS integration where most of the configuration can be done directly from the Videon device. This article will provide step-by-step instructions to set up your Amazon IVS stream using Generic RTMPS.
Table of Contents:
- Navigating and creating your IVS channel(s)
- Configuring your Generic RTMPS Stream URL
- Suggested Encoder Configurations
- Playback URL
Navigating and creating your IVS channel(s)
- Login to your AWS access portal and sign into the appropriate account where your IVS service is located.
- From the AWS Console Home, search for "Amazon Interactive Video Service". Alternatively, it may appear in your Recently visited services.
- Your IVS channels will be populated after navigating to Amazon Interactive Video Service.
- If you already have your desired channel for streaming created, proceed to step 6 below.
- If you need to create a new channel, the RTMP integration on the Videon device will still support this function using the Create a New Channel section.
Configuring your Generic RTMPS Stream URL
- If you have not already, on the IVS channels page, select your desired channel.
- The configuration of the Stream URL for Generic RTMPS in the Videon web UI is in the following format:
<Ingest server><Stream key>
- Scroll down to the Stream configuration section
- Copy the Ingest server and paste it into the Videon web UI.
- Navigate back to IVS and copy the Stream key.
- Paste it at the end of the Stream URL as shown below:
- Click Save and now you will be streaming to Amazon IVS!
Suggested Encoder Configurations
Under the appropriate Video Profile:
- Encoding Mode: Constant Bitrate
- Recommended Bitrate:
| 480p (SD) | 720p (HD) | 1080p (Full HD) | |
| Video Bitrate | Up to 1500 kbps | Up to 4500 kbps | Up to 8500 kbps |
| FPS | 30 | 30 or 60 | 30 or 60 |
- Video Encoding: H.264 (AVC)
- H.264 Profile: Main Profile
- Keyframe Interval: 1-2 Seconds (1 second for lower end-to-end latency)
Under the appropriate Audio Profile:
- Encoding Mode: Constant Bitrate
- Audio Bitrate: anything up to 320 kbps
- Channels: Maximum of 2
- Suggested sample rate of audio signal: 44.1 kHz or 48 kHz (it is best to match your production audio flow)
Playback URL
- From the IVS channels page, select your desired channel.
- With an active stream going to IVS, you should see playback in the native player within your IVS channel.
- Scroll down to the Playback configuration
- Copy the Playback URL
- Paste into your desired HLS player for playback!