How can I reduce the latency of HLS delivery in MediaLive?

2 minute read
0

I'm experiencing a delay in the HTTP Live Streaming (HLS) delivery of my AWS Elemental MediaLive channel.

Resolution

Many factors can cause delays in HLS delivery, such as encoding and decoding, network conditions, and player buffers. For more information about how to measure latency and optimize your configuration, see How to compete with broadcast latency using current adaptive bitrate technologies.

To reduce latency, you can shorten the segment length of the HLS group.

Note: When you shorten the segment length, your video quality might be affected and player-buffering events might increase. If you use the Low-Latency HLS (LL-HLS) workflow, then your video quality isn't affected when you shorten the segment length.

To shorten the segment length of the HLS group, complete the following steps:

  1. Open the MediaLive console.
  2. In the navigation pane, choose Channels, and then select the channel that you want to modify.
  3. Choose Actions, and then choose Edit.
  4. Choose the HLS output group that you want to modify.
  5. Choose Manifest and Segments.
  6. For Segment Length, change the value to 1.
  7. Choose an output in the HLS group.
  8. Choose GOP Structure.
  9. For GOP Size Units, select SECONDS.
  10. For GOP Size, enter 1 to match the segment length of 1 second.
  11. Repeat steps 7 through 10 to update every output in the HLS group.
  12. Choose Update Channel.

To reduce latency, send your HLS output group to one the following destinations:

Related information

Turning on Low-Latency HTTP live streaming (HLS) on the Apple Developer website

Creating an HLS output group

How to configure a low-latency HLS workflow using AWS Media Services

AWS OFFICIAL
AWS OFFICIALUpdated 7 days ago