HLS manifest customization: Media Sequence and Target Duration

Hi everybody,

I am struggling with customizing the HLS manifest for live streaming:

  1. Media Sequence: set the initial value of it on the video streaming start to avoid client/CDN caching
  2. Target Duration: fixing the TargetDuration to a constant value
    I am trying to achieve that using the Java API, but I cannot find the right documentation for achieving that.

Can you please point me to the right listeners/hooks for implementing it?
Thanks!

  1. To avoid caching see this post.

  2. Target Duration: fixing the TargetDuration to a constant value -> what do you mean by this? what kind of values do you get now?

Thanks for the hints about the headers caching settings but we would still like to set that for content distribution optimisation.
About the target duration instead the value is almost always 1 second bigger than the chunks sizes in the manifest.