# Delay in playing video which is obtained from Wowza streaming engine

**URL:** https://community.wowza.com/t/delay-in-playing-video-which-is-obtained-from-wowza-streaming-engine/43520
**Category:** Wowza Streaming Engine
**Created:** [September 22, 2014, 3:29am UTC](https://community.wowza.com/t/delay-in-playing-video-which-is-obtained-from-wowza-streaming-engine/43520 "2014-09-22T03:29:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bhagya\_lakshmi](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@Bhagya\_lakshmi](https://community.wowza.com/u/Bhagya_lakshmi)
#### Post date: [September 22, 2014, 3:29am UTC](https://community.wowza.com/t/delay-in-playing-video-which-is-obtained-from-wowza-streaming-engine/43520/1 "2014-09-22T03:29:54Z")

</div>

Hi,

When I am playing back the video which is running in wowza streaming engine (i.e when I am trying to load the url

[http://192.168.1.20:1935/live/myStream/playlist.m3u8](http://192.168.1.20:1935/live/myStream/playlist.m3u8) using mpmovieplayercontroller in ipad, it is playing fine. But there is more than 20 seconds delay in playing video.) Please help me to avoid this delay time. Thanks in advance.

-Bhagya

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [September 22, 2014, 6:22am UTC](https://community.wowza.com/t/delay-in-playing-video-which-is-obtained-from-wowza-streaming-engine/43520/2 "2014-09-22T06:22:43Z")

</div>

Hi there, 1-3 seconds would be about as good as it gets for iOS. As a rule 3 chunks are required by iOS devices for streaming to begin. Each chunk is set to 10 seconds by default.

If you use a keyframe interval of 1 frame per second you can lower the cupertinoChunkDurationTarget to 1 second(1000) and get the latency down to closer to 3 seconds.

Also, you might experiment with a setting of “1” for cupertinoPlaylistChunkCount but probably not a good idea for iOS.

This guide explains the configuration in more detail:

[How to configure Apple HTTP Live Streaming packetization (cupertinostreaming)](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming%28iOS)

Salvadore

---

<div class="post-metadata">

### Author: ![Bhagya\_lakshmi](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@Bhagya\_lakshmi](https://community.wowza.com/u/Bhagya_lakshmi)
#### Post date: [September 22, 2014, 5:18am UTC](https://community.wowza.com/t/delay-in-playing-video-which-is-obtained-from-wowza-streaming-engine/43520/3 "2014-09-22T05:18:58Z")

</div>

Thanks a lot for the information. I will try it out.
