|
Home > Archive > Macromedia Flash Server > April 2005 > hitting the limit...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
hitting the limit...
|
|
| Simon Lord 2005-04-07, 5:57 pm |
| If this is possible then it's over my head at the moment...
I was wondering if, in Flash, I can be notified that the FCS license
limit has been reached. This would allow me, from the client side, to
take some actions and correct the situation by either lowering the
quality on some webcam streams or preventing newcomers from viewing
streams temporarily (thus allowing them to at *least* participate in
chat.)
Sincerely,
Simon
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Jim Cheng 2005-04-07, 5:57 pm |
| Simon Lord wrote:
> If this is possible then it's over my head at the moment...
>
> I was wondering if, in Flash, I can be notified that the FCS license
> limit has been reached. This would allow me, from the client side, to
> take some actions and correct the situation by either lowering the
> quality on some webcam streams or preventing newcomers from viewing
> streams temporarily (thus allowing them to at *least* participate in chat.)
It's quite possible, though you'll probably have to use the FCS Server
Management API. While you'll need the admin login and password to
connect and it's over port 1111 rather than 1935, you can get all sorts
of details about the server, various FCS applications that are running
and so on.
Though most of the bytes in/out information is running total, doing
periodic checks can give you average usage per minute and allow you to
throttle usage as appropriate.
My guess is that you'll probably be interested in the getIOStats() or
getServerStats() methods to obtain the information you'll need. While I
don't know of anyone who's built a throttling application via the Server
Management API, it does come in quite handy for a wide variety of FCS
administrative situations. For instance, I recently hacked together
some FCS diagnostics tools, including a per-client real-time bandwidth
usage monitor using the Server Management API:
http://www.architekture.com/whitepapers/fcs_diag.zip
Jim
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|