Is it possible to limit the duration of RTSP stream. We have audio on-demand streaming application and want to limit play to 60 seconds. I have gone through few posts and documentation and found out that it is possible for HTTP streaming. Kindly suggest how can this be done for my audio on-demand streaming application over RTSP.
Actually the Timed Disconnect Module works with RTSP clients. You can limit by user agent (using timedDisconnectAllowedAgents setting). If you want more control you can use onRTPSessionCreate to create a timer for each client.