Hls.js: What are the limits for live hls buffering?

Created on 13 Mar 2017  路  3Comments  路  Source: video-dev/hls.js

[Question] I'm wondering, if it is known and specified, what are the limits for chunks buffering, when live hls video is paused (config-wise, browser-wise, OS-wise)? I've never seen any warning from my browser, but the process couldn't be infinite. Thank you.

Question

Most helpful comment

Hi @GeorgySerga
indeed it won't buffer forever, natural buffer eviction should happen after a given threshold (browser specific)
FYI here are chrome buffer limits
https://cs.chromium.org/chromium/src/media/filters/source_buffer_platform.cc?l=9
12 MB for audio, 150 MB for video

All 3 comments

Hi @GeorgySerga
indeed it won't buffer forever, natural buffer eviction should happen after a given threshold (browser specific)
FYI here are chrome buffer limits
https://cs.chromium.org/chromium/src/media/filters/source_buffer_platform.cc?l=9
12 MB for audio, 150 MB for video

@mangui thank you for a great answer, I wasn't able to find this info before.

yeah, it is a bit hidden in the browser core.
pinging @cpeterso, he might be able to tell us what are the limits for Firefox :)

Was this page helpful?
0 / 5 - 0 ratings