Skip to main content
Participating Frequently
May 15, 2012
Question

hls buffer duration

  • May 15, 2012
  • 1 reply
  • 2195 views

Hello,

How can I set duration of buffer to be kept by server in HLS

Regards,

Ivan

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    May 15, 2012

    Hi,

    Server don't keep any in memory media file buffer. What is your concern- caching, disk-management or dvr.?

    Thanks

    ivanvidevAuthor
    Participating Frequently
    May 15, 2012

    HLS in not realtime streaming.

    It make chunks and stream them.

    How old chunks are kept by server.

    When new user starts watching, he is staring from the oldest chunk - am I  right?

    Ivan

    Adobe Employee
    May 15, 2012

    For that matter, none of the HTTP streaming protocol are exact real time..

    When user starts watching, he/she gets the latest playlist (m3u8) and any HLS client by specifications plays the third chunk from the last. So even if server presents latest 20 chunks, client will play with 3 chunk latency, not 20.

    On FMS you can configure disk management duration which will keep required duration of the data on the disk. This data is not exactly the chunks understood by the HLS, but can be used to create them in realtime.

    Thanks