[FFmpeg-devel] [PATCH v2] avformat/hls: Partially revert "reduce default max reload to 3"
Michael Niedermayer
michael at niedermayer.cc
Fri Feb 28 01:03:07 EET 2025
On Thu, Feb 27, 2025 at 04:36:56PM +0000, softworkz wrote:
> From: softworkz <softworkz at hotmail.com>
>
> (setting to 100 as a reasonable compromise)
>
> The change has caused regressions for many users and consumers.
> Playlist reloads only happen when a playlist doesn't indicate that it
> has ended (via #EXT-X-ENDLIST), which means that the addition of future
> segments is still expected.
> It is well possible that an HLS server is temporarily unable to serve
> further segments but resumes after some time, either indicating a
> discontinuity or even by fully catching up.
> With a segment length of 3s, a max_reload value of 1000 corresponds to
> a duration of 50 minutes which appears to be a reasonable default.
> ---
> avformat/hls: Partially revert "reduce default max reload to 3"
>
> This change has caused regressions for many users and consumers.
> Playlist reloads only happen when a playlist doesn't indicate that it
> has ended (via #EXT-X-ENDLIST), which means that the addition of future
> segments is still expected. It is well possible that an HLS server is
> temporarily unable to serve further segments but resumes after some
> time, either indicating a discontinuity or even by fully catching up.
> With a segment length of 3s, a max_reload value of 1000 corresponds to a
> duration of 50 minutes which appears to be a reasonable default.
>
> V2
>
> * reduced from 1000 to 100 (halfway) according to Michael's calcularion
> :-)
[...]
> libavformat/hls.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will probably apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Some people wanted to paint the bikeshed green, some blue and some pink.
People argued and fought, when they finally agreed, only rust was left.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250228/8395c7e1/attachment.sig>
More information about the ffmpeg-devel
mailing list