So looks like I’m not alone.
Here is another person trying to do pretty much the same thing as myself.
I guess only Wowza developers can fix this at this point, by sending a TEARDOWN to the RTSP partner on RTPSession shutdown, which would cause the encoder to stop streaming.
but from all the class fields I’ve browsed, Wowza doesn’t track open RTSP sockets.
Would be nice to create some kind of RTSPSession and to be able to control it via some sort of interface.
There could be a lot of useful extensions possible from being able to send SET_PARAMETERS.
Art.