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 > sense. > 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? Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel