[Red5] Problem when all clients disconnect from persistent shared object
David Schulberg
davids at evertech.com.au
Sun Jun 10 11:39:50 EDT 2007
Hi All,
I have a very distressing problem that I can't get to the bottom of with
Red5 RC 0.6.1
I am using a persistent shared object. As long as I have clients connected
my Flash clients are getting data pushed to them from Red5, but once all my
clients have disconnected the shared object stops working.
I create a separate thread that feeds my shared object and have passed a
reference to my Application class in which I have a method to update the
shared object. My shared object is initialized in appStart method.
In my separate thread:
Application appref;
appref.updateSO(read)
In my Application class:
public void updateSO (String read)
{
ISharedObject PSO = this.getSharedObject(appScope, "statusSO",
true);
PSO.setAttribute("status", read);
}
The thread is still reading info after all clients have disconnected but the
updateSO doesn't work any more.
David Schulberg
email: davids at evertech.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070611/c495ee95/attachment-0001.htm
More information about the Red5
mailing list