I Have been using IMediaStreamActionNotify2 to push from Wowza (DVR) to a CDN, an incoming stream from our camera system to our Wowza.
as on the example the Onpublish Event triggers and we use that function to connect to the CDN.
Now i am wondering how can i detect in Wowza when my streaming source (cameras) are stopped. And then stop the CDN communiction, Is there any event i can capture? ( i had tried on pause on stop ondestroy... but they seemed to be used for users actions not from source behaviour) so probably i should use another class