# Anyway to reduce upto 5 secs latency in HLS

**URL:** <https://community.wowza.com/t/anyway-to-reduce-upto-5-secs-latency-in-hls/43044>\
**Category:** Wowza Streaming Engine\
**Created:** [May 14, 2014, 4:38pm UTC](https://community.wowza.com/t/anyway-to-reduce-upto-5-secs-latency-in-hls/43044 "2014-05-14T16:38:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![small\_erik](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@small\_erik](https://community.wowza.com/u/small_erik)\
**Post date:** [May 14, 2014, 4:38pm UTC](https://community.wowza.com/t/anyway-to-reduce-upto-5-secs-latency-in-hls/43044/1 "2014-05-14T16:38:26Z")

</div>

Hi,

By using properties listed [here](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming%28cupertinostreaming%29) i reduced my latency from 30secs to 12 secs in HLS. But client required \<5 secs . Any idea/suggestion?? Thanks in advance

---

<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 14, 2014, 1:09pm UTC](https://community.wowza.com/t/anyway-to-reduce-upto-5-secs-latency-in-hls/43044/2 "2014-05-14T13:09:46Z")

</div>

Hi,

The chunks for HTTP streaming are created on a keyframe, if the keyframe is every 1 second the cupertinoChunkDurationTarget can also be 1 second.

I don’t think you will be able to get a latency 5 seconds or below with HLS due to how it works, you’re always 3 chunks behind the actual live event.

The best way to test this is to make everything local and see what the delay is when using a stream which has 1 second keyframe intervals and the cupertinoChunkDurationTarget is set to 1000 (1 second).

Playback of Apple HLS can be done using VLC player which could keep everything local.

Jason
