# Roku HLS loading time

**URL:** <https://community.wowza.com/t/roku-hls-loading-time/35107>\
**Category:** Wowza Streaming Engine\
**Created:** [February 4, 2013, 11:41am UTC](https://community.wowza.com/t/roku-hls-loading-time/35107 "2013-02-04T11:41:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_R](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@A\_R](https://community.wowza.com/u/A_R)\
**Post date:** [February 4, 2013, 11:41am UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/1 "2013-02-04T11:41:50Z")

</div>

Currently I am testing Roku loading time in Wowza 3.5, it takes around 20 to 60 sec to load the stream. Is there any way to fine tune the HLS setting hence the load time can be under 10 secs.

I have tested with different CDN’s, Eg: EdgeCast loading time under 10 secs but they are not using Wowza 🙂

Please guide.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 4, 2013, 7:45pm UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/2 "2013-02-04T19:45:19Z")

</div>

Yes, take a look at this guide:

[https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 5, 2013, 7:33pm UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/3 "2013-02-05T19:33:05Z")

</div>

Just remember that key frame frequency should be a factor of cupertinoChunkDurationTarget. Try 1 second key frame frequency and cupertinoChunkDurationTarget “1000”.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 5, 2013, 8:09pm UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/4 "2013-02-05T20:09:17Z")

</div>

These would be set on the origin only, or wherever packetizing is being done.

Richard

---

<div class="post-metadata">

**Author:** ![Jay\_Charles](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@Jay\_Charles](https://community.wowza.com/u/Jay_Charles)\
**Post date:** [February 5, 2013, 4:03pm UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/5 "2013-02-05T16:03:35Z")

</div>

Roku seems to want to have 8 segments in cache before it begins playback. I would try reducing the chunk duration to 10 seconds, and set the playlist chunk count / repeater chunk count to 8 for Roku (keep in mind that will also affect other HLS clients)

Also, is this for a live stream or a VOD stream? Given the wait time, I’m assuming you’re dealing with live streams

---

<div class="post-metadata">

**Author:** ![Jay\_Charles](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@Jay\_Charles](https://community.wowza.com/u/Jay_Charles)\
**Post date:** [February 6, 2013, 7:35am UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/6 "2013-02-06T07:35:43Z")

</div>

You’ll want your maxChunkCount value to be a little higher than your playlist and repeater chunk counts. I tend to use a value twice what the playlist count is.

---

<div class="post-metadata">

**Author:** ![A\_R](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@A\_R](https://community.wowza.com/u/A_R)\
**Post date:** [February 5, 2013, 11:29am UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/7 "2013-02-05T11:29:22Z")

</div>

Hi Richard,

Do you have any recommended settings?

> cupertinoChunkDurationTarget
> 
> 20000
> 
> Integer
> 
> cupertinoMaxChunkCount
> 
> 10
> 
> Integer
> 
> cupertinoPlaylistChunkCount
> 
> 10
> 
> Integer
> 
> cupertinoRepeaterChunkCount
> 
> 10
> 
> Integer

I am trying to fine tune the loading time also trying to adjust FMLE settings as well.

---

<div class="post-metadata">

**Author:** ![A\_R](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@A\_R](https://community.wowza.com/u/A_R)\
**Post date:** [February 5, 2013, 11:43am UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/8 "2013-02-05T11:43:48Z")

</div>

**FMLE setting**

> Baseline 3.1 | Key frame 1 | FPS 29.97 | 640x360 | Total bit rate 864 kbps

**Wowza edge server setting**

> cupertinoChunkDurationTarget
> 
> 1000
> 
> Integer
> 
> cupertinoMaxChunkCount
> 
> 10
> 
> Integer
> 
> cupertinoPlaylistChunkCount
> 
> 3
> 
> Integer
> 
> cupertinoRepeaterChunkCount
> 
> 3
> 
> Integer

Do you recommend the same settings on the origin as well?

---

<div class="post-metadata">

**Author:** ![A\_R](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@A\_R](https://community.wowza.com/u/A_R)\
**Post date:** [February 5, 2013, 9:11pm UTC](https://community.wowza.com/t/roku-hls-loading-time/35107/9 "2013-02-05T21:11:16Z")

</div>

Hi Jay,

Yes, I am dealing with live content. I will try your recommendation 🙂

> cupertinoChunkDurationTarget
> 
> 10000
> 
> Integer
> 
> cupertinoMaxChunkCount
> 
> 8
> 
> Integer
> 
> cupertinoPlaylistChunkCount
> 
> 8
> 
> Integer
> 
> cupertinoRepeaterChunkCount
> 
> 8
> 
> Integer
