# minimize HLS latency

**URL:** https://community.wowza.com/t/minimize-hls-latency/41473
**Category:** Wowza Streaming Engine
**Created:** [May 28, 2015, 10:39pm UTC](https://community.wowza.com/t/minimize-hls-latency/41473 "2015-05-28T22:39:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jordi\_Cenzano](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@Jordi\_Cenzano](https://community.wowza.com/u/Jordi_Cenzano)
#### Post date: [May 28, 2015, 10:39pm UTC](https://community.wowza.com/t/minimize-hls-latency/41473/1 "2015-05-28T22:39:52Z")

</div>

Hi, I’m trying to create a minimum latency live event (input RTMP output HLS) that includes transcoding.

I encoded the input stream with I frame every 2s and I reduced the HLS segments duration to 4s (cupertinoChunkDurationTarget) and I have cupertinoPlaylistChunkCount = 3 (default) and I have around 18s of delay. Are there other changes that I can do in order to minimize this delay (in transcoder, or …)

Thanks

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [May 29, 2015, 9:08am UTC](https://community.wowza.com/t/minimize-hls-latency/41473/2 "2015-05-29T09:08:38Z")

</div>

Hi,

If you have a keyframe every 2 seconds, the cupertinoChunkDurationTarget can be 2000 (2 seconds) which will reduce the delay further.

There’s nothing else that can be done to reduce the delay unless you encoding of the source to have a keyframe interval of 1 second and change the cupertinoChunkDurationTarget to 1000.

Regards,

Jason

---

<div class="post-metadata">

### Author: ![Jordi\_Cenzano](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@Jordi\_Cenzano](https://community.wowza.com/u/Jordi_Cenzano)
#### Post date: [May 29, 2015, 7:01pm UTC](https://community.wowza.com/t/minimize-hls-latency/41473/3 "2015-05-29T19:01:27Z")

</div>

Thanks Jason!
