Results 1 to 4 of 4

Thread: Find out why one set of HLS settings better/worse the another.

  1. #1

    Question Find out why one set of HLS settings better/worse the another.

    Hello an good time of day.
    Can you help me find out (or at least give some hints) what one set of cupertino segmenter ( ChunkDurationTarget / MaxChunkCount / PlaylistChunkCount ) is better / worse than another for given channel and prove it.

    Is there any criterion that can be calculated and describe definite set of parameters in clear way?

    We using Wowza Streaming Engine 4.0.4.

    Big thank in advance.

  2. #2
    Join Date
    Jun 2012



    Let me start with the explanation of these parameters from the How to configure Apple HLS packetization (cupertinostreaming) forum article.
    Audio and video packets from a live encoder enter the Wowza media server and are segmented into time-based chunks. The duration of each chunk (in milliseconds) is controlled by the cupertinoChunkDurationTarget setting. As the chunks are created, they're added to the available chunk list. The maximum number of chunks stored in the available chunk list is controlled by the cupertinoMaxChunkCount setting. When an iOS device requests the stream, a playlist is returned that contains the [n] most recently added chunks. The number of items returned in the playlist ([n]) is controlled by the cupertinoPlaylistChunkCount setting.
    Each chunk is created when a key-frame is received by Wowza. Because of this, the key-frame frequency of the incoming stream has an influence on the duration of the chunks.

    Usually, the default values for these properties are modified when users want to achieve a lower latency between the live event and the playback of that stream. In this case, having a live stream with a key-frame frequency setting of 1 key-frame per second, and a cupertinoChunkDurationTarget property value of 2000, would produce chunks with a duration of 2 seconds. Since the player needs 3 chunks to start playing back the stream, you can get a latency of 6-7 seconds, depending on the network quality.
    However, if the chunks are too small and the internet connection at the client side is too bad, It can take more than 2 seconds to download one data chunks and you might end up with your playback client having buffering issues on their devices.

    You must choose the best configuration setup that matches your requirements and the conditions of the network your server and clients are operation on.


  3. #3


    So, the first criteria can be delay between unpausing player and actually starting stream, and the second - size of time intervals that video stalled, buffering next chunks?
    And both then smaller then better.

    I need a javascript test page and test stream to measure this values with different segmenter configurations.
    At least exactly that is no problem.

  4. #4
    Join Date
    Dec 2014


    Quote Originally Posted by Eliont View Post
    And both then smaller then better.
    It's not always the case. If you use adaptive bitrate streaming (ABR), smaller chunk size translates to faster stream swapping. If the client's network is not stable the player might switch from one bitrate to another very often, causing a very uneven experience.

    Smaller chunks also require bigger playlists and more computing power allocated to generating/parsing those playlists leading to consuming more power on client mobile devices.

    With smaller chunk sizes you also have a higher load on the network. The ratio of the actual stream data versus the metadata (playlists) is also smaller.

    You will have to choose a trade-off between optimal video quality / experience and a fast start or bandwidth/power optimizations.
    Last edited by aergistal; 01-14-2015 at 06:02 AM.

Similar Threads

  1. HLS settings
    By simonbu in forum General Forum
    Replies: 1
    Last Post: 10-20-2014, 12:03 PM
  2. Consultant needed to set up VOD, PPM set up on my adult site
    By butchx5 in forum Integrating Wowza into your workflow
    Replies: 0
    Last Post: 03-02-2014, 11:38 AM
    By chu6159 in forum General Forum
    Replies: 8
    Last Post: 12-19-2013, 05:56 AM
  4. How to set the delay time hls
    By alexliyu in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 07-22-2013, 05:40 AM
  5. Latency slowly gets worse and worse
    By JamesJJ in forum Live Streaming and Encoder Discussion
    Replies: 8
    Last Post: 05-09-2012, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts