application.onUnpublish = function (clientObj, streamObj){}
Invoked when a client stops publishing a stream to an application. Use this event handler with application.onPublish()to send traffic to other servers when you're building a large-scale, live broadcasting application.
Flash Media Interactive Server 3 and Flash Media Development Server 3
clientObj A Client object; the client publishing the stream to the application.
streamObj A Stream object; the stream being published to the application.
Server ignores any return value.
For a complete client-side and server-side example, see Publish from server to server in Adobe Flash Media Server Developer Guide.