Hi,
How can a listener be implemented to disconnect all those streams that have not had any connections for some past duration say 2 hrs?
I am working with live streams from IP Cameras.
My requirement is to start all streams in content directory on server startup. For that I am using ServerListenerStartupStreamsMonitor.
Now, firslty, if there are some streams that have not been played for some long time, I want to stop them.
And, secondly, start them again when play has been requested. Although this can be somewhat achieved using rtp-live stream type (https://www.wowza.com/docs/how-to-mediacaster-api-to-start-native-rtp-and-mpeg-ts-streams). But the 60 sec idle time is too less time for our requirements.
Thanks,
Mayank