gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Edward Hervey 33db765f45 adaptivedemux2: Improve minimum buffering threshold
Previously the minimum buffering threshold was hardcoded to a specific
value (10s). This is suboptimal this an actual value will depend on the actual
stream being played.

This commit sets the low watermark threshold in time to 0, which is an automatic
mode. Subclasses can provide a stream `recommended_buffering_threshold` when
update_stream_info() is called.

Currently implemented for HLS, where we recommended 1.5 average segment
duration. This will result in buffering being at 100% when the 2nd segment has
been downloaded (minus a bit already being consumed downstream)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3240>
2022-10-31 16:16:50 +01:00
..
gsthlsdemux-util.c hlsdemux2: Fix potential segfault 2022-06-29 14:33:30 +00:00
gsthlsdemux.c adaptivedemux2: Improve minimum buffering threshold 2022-10-31 16:16:50 +01:00
gsthlsdemux.h hlsdemux2: Fix position tracking 2022-06-28 17:59:23 +00:00
gsthlselement.c adaptivedemux2: Prevent duplicate symbols on static builds 2022-06-15 01:13:16 +00:00
gsthlselements.h adaptivedemux2: Prevent duplicate symbols on static builds 2022-06-15 01:13:16 +00:00
m3u8.c adaptivedemux2: Improve minimum buffering threshold 2022-10-31 16:16:50 +01:00
m3u8.h adaptivedemux2: Improve minimum buffering threshold 2022-10-31 16:16:50 +01:00
meson.build New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00