# Cupertino Streaming segmenter parameters (iPhone live)

**URL:** <https://community.wowza.com/t/cupertino-streaming-segmenter-parameters-iphone-live/86>\
**Category:** Wowza Streaming Engine\
**Created:** [August 24, 2009, 2:37pm UTC](https://community.wowza.com/t/cupertino-streaming-segmenter-parameters-iphone-live/86 "2009-08-24T14:37:58Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Nikita\_Sukhin](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nikita\_Sukhin](https://community.wowza.com/u/Nikita_Sukhin)\
**Post date:** [August 14, 2010, 3:11pm UTC](https://community.wowza.com/t/cupertino-streaming-segmenter-parameters-iphone-live/86/21 "2010-08-14T15:11:33Z")

</div>

Just did what you suggested:

This is what we have in Application.xml (in /conf/vod directory):

> maxChunkCount
> 
> 2
> 
> Integer
> 
> playlistChunkCount
> 
> 1
> 
> Integer
> 
> chunkDurationTarget
> 
> 1000
> 
> Integer

and return from playlist:

> #EXTM3U
> 
> #EXT-X-TARGETDURATION:10
> 
> #EXT-X-MEDIA-SEQUENCE:1
> 
> #EXTINF:10,
> 
> media\_1.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_2.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_3.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_4.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_5.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_6.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_7.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_8.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_9.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_10.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_11.ts?wowzasessionid=530886877
> 
> #EXTINF:10,
> 
> media\_12.ts?wowzasessionid=530886877
> 
> #EXTINF:4,
> 
> media\_13.ts?wowzasessionid=530886877
> 
> #EXT-X-ENDLIST

As you see, there are 13 chunks 10 seconds each

Tried several times, restarted the server, etc. to make sure changes were saved, etc.

Also, to make sure it is not forced by actual file keyframe interval, we set it very low at encoding: (–min-keyint 3 --keyint 30 options).

Any thoughts, as to why the server is not taking the properties?

---

<div class="post-metadata">

**Author:** ![Nikita\_Sukhin](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nikita\_Sukhin](https://community.wowza.com/u/Nikita_Sukhin)\
**Post date:** [August 14, 2010, 3:36pm UTC](https://community.wowza.com/t/cupertino-streaming-segmenter-parameters-iphone-live/86/22 "2010-08-14T15:36:14Z")

</div>

Yeap - bingo! that worked - thank you!

the reason for all of that jumping through the hoops is that we are trying to figure out how to accurately capture events for HTTP Streaming for the purposes of tracking actual viewing time (Pay Per MInute Scenario).

Here is related thread with few posts at the end where we have been trying to address this scenario, but so far no success:

[https://www.wowza.com/forums/showthread.php?t=9169&page=3](https://www.wowza.com/forums/showthread.php?t=9169&page=3)

Richard has been great help in guiding us, but, Charlie, if you have any additional thoughts on the subject, this would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Nikita\_Sukhin](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nikita\_Sukhin](https://community.wowza.com/u/Nikita_Sukhin)\
**Post date:** [August 18, 2010, 4:35pm UTC](https://community.wowza.com/t/cupertino-streaming-segmenter-parameters-iphone-live/86/23 "2010-08-18T16:35:42Z")

</div>

One more question, Charlie:

Seems like while we figured out how to manage chunk size, seems that other 2 properties (maxChunkCount and playlistChunkCount) did not have any effect. Below is what we have in the Application.xml file.

> maxChunkCount
> 
> 2
> 
> Integer
> 
> playlistChunkCount
> 
> 2
> 
> Integer
> 
> chunkDurationTarget
> 
> 1000
> 
> Integer

However, for 123 second file, we get playlist with 124 entries such as

> #EXTM3U
> 
> #EXT-X-TARGETDURATION:1
> 
> #EXT-X-MEDIA-SEQUENCE:1
> 
> #EXTINF:1,
> 
> media\_1.ts?wowzasessionid=1378001470
> 
> #EXTINF:1,
> 
> media\_2.ts?wowzasessionid=1378001470
> 
> #EXTINF:1,
> 
> media\_3.ts?wowzasessionid=1378001470
> 
> #EXTINF:1,
> 
> media\_4.ts?wowzasessionid=1378001470
> 
> #EXTINF:1,
> 
> media\_5.ts?wowzasessionid=1378001470
> 
> #EXTINF:1,
> 
> media\_6.ts?wowzasessionid=1378001470
> 
> …
> 
> #EXTINF:1,
> 
> media\_124.ts?wowzasessionid=1378001470
> 
> #EXT-X-ENDLIST

We are actually closing in on how to accurately track actual viewing time, but we need to figure out how to manage how many chunks will be “read ahead” by the player.

Any thoughts on the above?

Thanks again for your continued help with this!

[Previous page](https://community.wowza.com/t/cupertino-streaming-segmenter-parameters-iphone-live/86.md?page=1)
