Le duodi 22 nivôse, an CCXXV, Joel Cunningham a écrit : > This commit optimizes HTTP forward seeks by advancing the stream on > the current connection when the seek amount is within the current > TCP window rather than closing the connection and opening a new one. > This improves performance because with TCP flow control, a window's > worth of data is always either in the local socket buffer already or > in-flight from the sender.
Thanks for the patch. You may have not noticed, but there is already a similar logic in the higher-level API, aviobuf. See the code for avio_seek(). I suspect it would be a better place to implement the logic of avoiding seeks on slow-ish protocols. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel