[FFmpeg-devel] [PATCH][GSoC] lavf/http: Parse and set HTTP method when listening on HTTP(S)
george at nsup.org
Mon Jun 1 22:52:34 CEST 2015
Le tridi 13 prairial, an CCXXIII, Stephan Holljes a écrit :
> After looking at the ffserver code, I'm wondering if maintaining a
> list of clients as HTTPContext or custom wrapper structs would make
> For the time being it would only contain the singular client context
> which can be accepted right now, but in the future could contain an
> arbitrary number of clients.
> Before I start implementing that I would like to know if it is a good
> choice to do this.
Have you considered the more traditional approach: when a client is
accepted, create a new AVFormatContext for it?
It seems simpler, and more adapted for various uses, for example if an
application wants to handle clients in separate threads or even forks. But
maybe there are benefits to your idea that I have not seen.
Also, that choice seems orthogonal to the question at hand: what do you want
to do with the method and other connection options?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel