[Red5] Custom Scope Objects
Claudius Ceteras
claudius at gmx.de
Mon Mar 24 13:08:30 PST 2008
Hi,
> Sorry for double post, but I changed back to the original
> source of Scope, recompiled, and removed
>
> subscopeStats.increment()
>
> from the code and it still seems to work fine, but it may be
> causing issues that I havent seen yet as I do not know what
> it really does.
It's keeps track of the Number of Subscopes and some other stuff.
Unfortunately the source code isn't included in my src directory
I wouldn't trust the code without the proper usage of subscopeStats, as
other code may rely on the correct statistics.
What you could do, is to instantiate your own subscopeStats and then
override alle methods that use subscopeStats with the same implementation,
i.e. Just copy'n'paste it out of Scope.java.
This would give you a perfect implementation for this version, but this will
break if you recompile against another Version in which someone used
subscopeStats in other methods than the one you've overridden.
So... Somewhat dissatisfying, but i guess the best you can do for now.
regards,
Claudius
More information about the Red5
mailing list