|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
SimpleConnectionBWConfig where is he gone?Hi, I’ve just downloaded 0.9 rc2…where
SimpleConnectionBWConfig is gone? Could I configure the bandwidth limit in
0.9 rc2? How to? Thanks in advance Giuseppe _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: SimpleConnectionBWConfig where is he gone?I saw in the new code
of oflaDemo Application.java // commenting out the
bandwidth code as it is replaced by the mina filters So anybody have an
idea or documentation to use mina filters? Thanks again Giuseppe Da:
red5-bounces@... [mailto:red5-bounces@...] Per conto di Giusanny Hi, I’ve just downloaded 0.9 rc2…where
SimpleConnectionBWConfig is gone? Could I configure the bandwidth limit in
0.9 rc2? How to? Thanks in advance Giuseppe _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: SimpleConnectionBWConfig where is he gone?The docs for that are not ready but the config is fairly simple, look for the bean which configures the filter (i dont have it in front of me at the moment).
Paul
On Wed, Nov 4, 2009 at 2:40 AM, Giusanny <giusanny@...> wrote:
-- http://gregoire.org/ http://code.google.com/p/red5/ http://code.google.com/p/blue5/ _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: SimpleConnectionBWConfig where is he gone?An example will be enough J Thanks Paul, but will you be so kind to tell me which bean ..or
which package…or which application? Where I have to search the example? Thanks again Giuseppe Da:
red5-bounces@... [mailto:red5-bounces@...] Per conto di Mondain The docs for that are not ready but the config is fairly
simple, look for the bean which configures the filter (i dont have it in front
of me at the moment). Paul On Wed, Nov 4, 2009 at 2:40 AM, Giusanny <giusanny@...> wrote: I saw in the new code of oflaDemo
Application.java // commenting out the bandwidth code as it is
replaced by the mina filters So anybody have an idea or documentation to
use mina filters? Thanks again Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Giusanny Hi, I’ve just downloaded 0.9 rc2…where
SimpleConnectionBWConfig is gone? Could I configure the bandwidth limit in 0.9 rc2? How to? Thanks in advance Giuseppe
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: SimpleConnectionBWConfig where is he gone?I would like to control the bandwidth per connection as the old
appConnect() method of oflaDemo Application class Can you help me to find the bean that configure bandwidth? Thanks in advance Giuseppe Da:
red5-bounces@... [mailto:red5-bounces@...] Per conto di Giusanny An example will be enough J Thanks Paul, but will you be so kind to tell me which bean ..or
which package…or which application? Where I have to search the example? Thanks again Giuseppe Da:
red5-bounces@... [mailto:red5-bounces@...] Per conto di Mondain The docs for that are not ready but the config is fairly
simple, look for the bean which configures the filter (i dont have it in front
of me at the moment). Paul On Wed, Nov 4, 2009 at 2:40 AM, Giusanny <giusanny@...> wrote: I saw in the new code of oflaDemo
Application.java // commenting out the bandwidth code as it is
replaced by the mina filters So anybody have an idea or documentation to
use mina filters? Thanks again Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Giusanny Hi, I’ve just downloaded 0.9 rc2…where SimpleConnectionBWConfig is
gone? Could I configure the bandwidth limit in 0.9 rc2? How to? Thanks in advance Giuseppe
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: SimpleConnectionBWConfig where is he gone?Have a look at your red5-common.xml for this entry:
<!-- Limits bandwidth (bytes per second) related with read and write operations on a per-session basis -->
<bean id="bandwidthFilter" class="org.red5.server.net.filter.TrafficShapingFilter" scope="prototype"> <!-- Maximum read throughput (0 = Unlimited) -->
<constructor-arg index="0" value="0"/> <!-- Maximum write throughput (0 = Unlimited) -->
<constructor-arg index="1" value="512000"/> </bean>
That is were you set your bandwidth values. Paul On Thu, Nov 5, 2009 at 2:07 AM, Giusanny <giusanny@...> wrote:
-- http://gregoire.org/ http://code.google.com/p/red5/ http://code.google.com/p/blue5/ _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
R: SimpleConnectionBWConfig where is he gone?Ok, this works for all the server, but I would like to limit the
bandwidth per connection and per application… Any idea? Giuseppe Da:
red5-bounces@... [mailto:red5-bounces@...] Per conto di Mondain Have a look at your red5-common.xml for this entry: <!-- Limits
bandwidth (bytes per second) related with read and write operations on a
per-session basis --> <bean
id="bandwidthFilter"
class="org.red5.server.net.filter.TrafficShapingFilter" scope="prototype"> <!--
Maximum read throughput (0 = Unlimited) --> <constructor-arg
index="0" value="0"/> <!--
Maximum write throughput (0 = Unlimited) --> <constructor-arg
index="1" value="512000"/> </bean> That is were you set your
bandwidth values. Paul On Thu, Nov 5, 2009 at 2:07 AM, Giusanny <giusanny@...> wrote: I would like to control the
bandwidth per connection as the old appConnect() method of oflaDemo Application
class Can you help me to find the
bean that configure bandwidth? Thanks in advance Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Giusanny
An example will be enough J Thanks Paul, but will you be
so kind to tell me which bean ..or which package…or which application? Where I
have to search the example? Thanks again Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Mondain The
docs for that are not ready but the config is fairly simple, look for the bean
which configures the filter (i dont have it in front of me at the moment). Paul On
Wed, Nov 4, 2009 at 2:40 AM, Giusanny <giusanny@...> wrote: I saw in the new code of oflaDemo
Application.java // commenting out the bandwidth code as it is
replaced by the mina filters So anybody have an idea or documentation to
use mina filters? Thanks again Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Giusanny Hi, I’ve just downloaded 0.9 rc2…where SimpleConnectionBWConfig is
gone? Could I configure the bandwidth limit in 0.9 rc2? How to? Thanks in advance Giuseppe
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: R: SimpleConnectionBWConfig where is he gone?If you would like to do it per app / per connection, the best way would be to write a plugin. It's not very difficult and I have done it on another project (can't release the source). I'll do a post describing the process soon, depending upon how the 0.9 fixes go...
Paul
On Mon, Nov 9, 2009 at 3:19 AM, Giusanny <giusanny@...> wrote:
-- http://gregoire.org/ http://code.google.com/p/red5/ http://code.google.com/p/blue5/ _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
R: R: SimpleConnectionBWConfig where is he gone?Ok, I could write the plugin, but waiting for that could I use SimpleConnectionBWConfig
found in the old release? Or Could I use a temporary patch? For example I tried (in the appConnect method of oflaDemo
Application class) IContext
ctx = scope.getContext(); if
(ctx.hasBean("bandwidthFilter")) { TrafficShapingFilter
bFilter = (TrafficShapingFilter) ctx.getBean("bandwidthFilter"); bFilter.setMaxReadThroughput(upStreamBytes); bFilter.setMaxWriteThroughput(downStreamBytes); } But It doesn’t work! And I think it’doesn’t work per application
or per connection… Watching the code I saw somewhere… ServerBW
serverBW = new ServerBW((int) downStream / 8); getChannel(2).write(serverBW); ClientBW
clientBW = new ClientBW((int) upStream / 8, (byte) 0); getChannel(2).write(clientBW); Any idea? What Can I do? Just wait? :D Thanks Giuseppe Da:
red5-bounces@... [mailto:red5-bounces@...] Per conto di Mondain If you would like to do it per app / per connection, the
best way would be to write a plugin. It's not very difficult and I have done it
on another project (can't release the source). I'll do a post describing the
process soon, depending upon how the 0.9 fixes go... Paul On Mon, Nov 9, 2009 at 3:19 AM, Giusanny <giusanny@...> wrote: Ok, this works for all the
server, but I would like to limit the bandwidth per connection and per
application… Any idea? Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Mondain Have
a look at your red5-common.xml for this entry:
<!-- Limits bandwidth (bytes per second) related with read and write
operations on a per-session basis -->
<bean id="bandwidthFilter"
class="org.red5.server.net.filter.TrafficShapingFilter"
scope="prototype">
<!-- Maximum read throughput (0 = Unlimited) -->
<constructor-arg index="0" value="0"/>
<!-- Maximum write throughput (0 = Unlimited) -->
<constructor-arg index="1" value="512000"/>
</bean> That
is were you set your bandwidth values. Paul On
Thu, Nov 5, 2009 at 2:07 AM, Giusanny <giusanny@...> wrote: I would like to control the
bandwidth per connection as the old appConnect() method of oflaDemo Application
class Can you help me to find the
bean that configure bandwidth? Thanks in advance Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Giusanny
An example will be enough J Thanks Paul, but will you be
so kind to tell me which bean ..or which package…or which application? Where I
have to search the example? Thanks again Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Mondain The
docs for that are not ready but the config is fairly simple, look for the bean
which configures the filter (i dont have it in front of me at the moment). Paul On
Wed, Nov 4, 2009 at 2:40 AM, Giusanny <giusanny@...> wrote: I saw in the new code of oflaDemo
Application.java // commenting out the bandwidth code as it is
replaced by the mina filters So anybody have an idea or documentation to
use mina filters? Thanks again Giuseppe Da: red5-bounces@...
[mailto:red5-bounces@...]
Per conto di Giusanny Hi, I’ve just downloaded 0.9 rc2…where SimpleConnectionBWConfig is
gone? Could I configure the bandwidth limit in 0.9 rc2? How to? Thanks in advance Giuseppe
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| Free embeddable forum powered by Nabble | Forum Help |