Wowza Community

Limit the stream play duration in RTSP

Hi,

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.

Hi,

The feature that you described is not supported for RTSP at present. It is not possible to specify a playback duration limit for an RTSP stream.

Zoran

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.

Richard