Hi Bill, Interalab schrieb:
So, if the shared object is created in the appStart method when the server starts up, then when the last client goes away, the SO is destroyed and can never be re-created because appStart is never called again?
yes. By definition (aka. FMS docs), non-persistent shared objects are destroyed when the last client disconnects. You can however call so.acquire() in appStart to make sure, the SOs exist even if all clients have disconnected.
How can we tell if the SO still exists? if ( so.isAcquired() ) . . . ???
Hmm, I think there currently is no API method that can check this. The result of so.getEventListeners() _should_ be empty if no more clients are connected, but I will have to verify ... or maybe better add a method to check if a SO still exists. Joachim
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
