[Red5] limiting max concurrent connections per user

Ben Wade bwade at allwebnow.com
Mon Nov 26 19:12:53 PST 2007


Thanks Andy and SeTyR for the responses,

Unfortunately I have no idea how to do what you guys have discussed.  Would
this be done on the flash player's end using an AS file?  I could see how
this could be applied from one location with one player, but if the user is
using multiple players from multiple locations on the web, that would seem
difficult to manage.  I would think limiting concurrent connections would
have to be deciphered at red5 source somehow.  I'm sure I'm totally missing
something though. 

Regards,
 
Ben Wade
-----Original Message-----
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
Of setyr at free.fr
Sent: Monday, November 26, 2007 10:00 PM
To: red5 at osflash.org
Subject: Re: [Red5] limiting max concurrent connections per user

Hi Andy ;

Thanks for the hint;
If i understand, this would be a routine AS in the swf the clients uses?
how do i count the total connected for that particular stream, server side ?

Sorry but i'm not that good at AS script but learning :)

Thank you for reading :)

SeTyR



Selon Andy <bowljoman at hotmail.com>:

> I would stab attributes to every subscriber connection and count
> attributes for a particular stream name, denying new subscribers if the
> count is some maximum, or popping out subscribers first in first out
> style.
>
> -----Original Message-----
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
> Behalf Of Ben Wade
> Sent: Monday, November 26, 2007 1:57 PM
> To: red5 at osflash.org
> Subject: [Red5] limiting max concurrent connections per user
>
> I've recently setup the war version of red5 in tomcat on centos 4.5 to
> allow my hosting clients on the same machine to upload their flv's into
> their public_html subfolders via ftp.  I did this by setting them up
> with their own symbolic link in the red5 streams/ directory that links
> directly to their /home/user/public_html directory.  (ie.
> tomcat/webapps/red5/streams/symboliclink).   Anyone have any idea if it
> would be possible to limit the number of concurrent streams per symbolic
> link / user?  I'd imagine it would be a matter of setting up a
> configuration file and a class or something.  I'm not sure though.  Any
> ideas would be greatly appreciated.  I think a lot of people could use a
> concurrent connection limit function.  I know this is popular on FMS and
> wowza.
>
> Thanks,
>
> Ben Wade
>



_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org




More information about the Red5 mailing list