Wowza Community

Cupertino Streaming segmenter parameters (iPhone live)

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?

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:

http://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!

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!