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

2 minutos de lectura
0

I'm noticing a delay in the HLS delivery of my AWS Elemental MediaLive channel. How can I fix this?

Resolution

Delays in HLS delivery can be due to various factors, such as encoding and decoding, network conditions, and player buffers. For more information on measuring latency and optimizing your configuration, see How to Compete with Broadcast Latency Using Current Adaptive Bitrate Technologies.

One way to potentially reduce latency is to shorten the segment length of the HLS group:

Important: Shortening segment length can impact video quality and increase the chance of player-buffering events. Before you proceed, consider the impact for your use case.

  1. Open the MediaLive console.
  2. From the navigation pane, choose Channels. Then, choose 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. Then, choose one output within 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 one second.
  11. Repeat steps 7 through 10 for all outputs in the HLS group.
  12. After you update the outputs, choose Update Channel.

OFICIAL DE AWS
OFICIAL DE AWSActualizada hace 3 años