[FFmpeg-devel] [PATCH] libavformat/http: fix support for reconnect_at_eof
Radoslav Gerganov
rgerganov at gmail.com
Wed Oct 9 17:41:41 EEST 2024
On Wed, Oct 9, 2024 at 4:48 PM Rémi Denis-Courmont <remi at remlab.net> wrote:
>
>
> AFAICT, reconnecting blindly makes no sense if the file size is known,
> flag or no flag.
>
> With that said the current code seems odd. Normal seek semantics allow for
> seeking to or even past the end of a file. The offset should not be capped
> like this. The server will return 416 which should be treated as
> "successfully" seeking. Or if the file has changed size in the mean time,
> it will return 206 and we can continue streaming.
>
> But either way, this patch doesn't look right.
>
>
I'd be happy to revert commit 69fcc09 if you are OK with this. Right now
the support for live HTTP streams is broken and setting reconnect_at_eof
has no effect.
Thanks,
Rado
More information about the ffmpeg-devel
mailing list