[Red5] VOD: gather traffic on a per-item basis

Daniel Rossi electroteque at gmail.com
Sat Mar 28 20:02:40 PST 2009


I added it for you ;) Unfortunately is is an improvement request  
rather than a bug, but i reckon an oversight not to have such a  
method :) Of course conn.getWrittenBytes will be for that connection  
but not so useful for logging, especially when logging is per play item.

http://jira.red5.org/browse/APPSERVER-367


On 29/03/2009, at 1:55 PM, Jose wrote:

> Hello guys,
> is there a way to gather traffic on a per-item basis? As
> of now all we have is IConnection.getReadBytes() and
> IConnection.getWrittenBytes(), but from within the same
> connection clients can access more items, so I cannot
> know how many bytes "belong" to each item... or?
>
> I mean: the "hard way" is to move traffic counters from
> IConnection to IPlayItem (or their relatives)... anyone
> has an idea for an "easy way" of achieving the same result?
>
>
>
> Cheers,
>
>
>
> -- 
> Jose
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org




More information about the Red5 mailing list