I am trying to close all streams for a praticular applicationinstance and it seems to work fine when i am publishing on rtmp but not on rtmpt
here is the code i am using:
IApplicationInstance appInstance = client.getAppInstance();
//get all the streams running on this app-instance
MediaStreamMap streamMap = appInstance.getStreams();
List<IMediaStream> streams = streamMap.getStreams();
getLogger().info("shuting down clients connected to this appinstance:");
Iterator<IMediaStream> streamsIterator = streams.iterator();
IMediaStream current_stream = streamsIterator.next();
getLogger().info("current_stream Name:" + current_stream.getName());
any ideas why current_stream.getClient().setShutdownClient(true);
is not shuting down the client that is publishing on rtmpt?
please note i am using wowza 2.