I want to unPublish and destroy a live stream through server-side code. I have tried using IMediaStream.stopPublishing() and IMediaStream.shutdown() but they appear to not do anything at all.
I have seen other threads with people saying to use IMediaStream.getClient().setShutdownClient(true), but unfortunately I can't rely on this approach, as my clients are sometimes becoming unresponsive, and so calling this also seems to have no effect.
-The Clients are connecting from a flash file on a website, and publishing streams through RTMP.
-I have a rather big module controlling streams and clients' info.
Right now I am using IMediaStream.notifyActionUnPublish() as a workaround, but as this don't really do anything other than call the onUnPublish method on the IMediaStreamActionNotify3 listener I have added to the stream, this is kind of pointless, as I really want to destroy this stream, and have Wowza call all the right methods.