Hello David,


for example, you can write your own startup hook that removes unused files during server/application startup (appStart() method of your application).

Also, you may override SharedObject and SharedObjectService to have control under.

I think, better is to attach ISharedObjectListener to each of your SO, and use smth like:


    public void onSharedObjectDisconnect(ISharedObjectBase so) {

        if ( ((SharedObject) so).getActiveListeners() == 0) {

            // remove file

        }

    }


-- 

Best regards,

 Alexey                            mailto:[EMAIL PROTECTED]

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to