[FFmpeg-devel] How to extend MaxClients limit?

Stefano Sabatini stefano.sabatini-lala
Wed Sep 3 11:57:06 CEST 2008


On date Wednesday 2008-09-03 09:25:54 +0200, Benoit Fouet encoded:
> Stefano Sabatini wrote:
> > On date Tuesday 2008-09-02 14:27:19 +0200, Stefano Sabatini encoded:
> >   
> >> On date Tuesday 2008-09-02 15:29:00 +0400, ??????? ?????? encoded:
> >>     
> >>> Sorry, for incorrect send and thanks for point. I'm already found it, but need to be approved as good one :)
> >>>       
> >>>> On Tue, 02 Sep 2008 15:17:18 +0400, ??????? ?????? wrote:
> >>>>         
> >>>>> Hello,
> >>>>>
> >>>>> We need to broadcast flv streams over 10000 clients. Now ffserver disallow MaxClients settings over 2000 limit. Can i'm make some trick to extends this?
> >>>>>           
> >>>> ffmpeg-devel is for development or patches for ffmpeg.
> >>>> your question should be sent to ffmpeg-user
> >>>> look at line 63 of ffserver.c:
> >>>> /* maximum number of simultaneous HTTP connections */
> >>>> #define HTTP_MAX_CONNECTIONS 2000
> >>>>         
> >> Maybe we should make that parameter configuration-dependant (maybe
> >> this will require some kind of dynamic allocation).
> >>     
> >
> > Like this.
> >
> > Regards.
> >   
> > ------------------------------------------------------------------------
> >
> > Index: ffserver.c
> > ===================================================================
> > --- ffserver.c	(revision 15154)
> > +++ ffserver.c	(working copy)
> > @@ -295,6 +292,8 @@
> >  static int no_launch;
> >  static int need_to_start_children;
> >  
> > +/* maximum number of simultaneous HTTP connections */
> > +unsigned int nb_max_http_connections = 2000;
> >   
> 
> why is it not static ?

Yes you're right, I'll change it to static.

Regards.
-- 
FFmpeg = Frenzy and Faboulous Multimedia Proud Easy Ghost




More information about the ffmpeg-devel mailing list