[FFmpeg-devel] [PATCH 1/2] avformat/http: Added a library-internal API for signalling end of chunk

Jeyapal, Karthick kjeyapal at akamai.com
Fri Dec 22 10:47:43 EET 2017

On 12/22/17, 1:13 PM, "wm4" <nfxjfg at googlemail.com> wrote:
>On Fri, 22 Dec 2017 12:34:41 +0530
>Karthick J <kjeyapal at akamai.com> wrote:
>> From: Karthick Jeyapal <kjeyapal at akamai.com>
>> Right now there is no explicit way to signal end of chunk, when http_multiple is set.
>> ff_http_do_new_request() function implicitly signals end of chunk. But that could be too late for certain applications.
>> Hence added a new function ff_http_signal_end_of_chunk() which could be used internally within libavformat.
>> ---
>I'd really prefer if this HTTP stuff would be added in a much cleaner
>way, such as making it part of the AVIO API, or at least the
>URLContext API. (Why are there 2 APIs anyway...)

Thanks for your comments. 
I am now using the ffurl* API as you suggested, in the new patch v2.


More information about the ffmpeg-devel mailing list