minimum duration time of an RTSP session

brunoibac

New Member
Hi,

I need the RTSP connection signals that I open via the API (/rest-api/rtsp/startup) to stay open for at least 20 min even if no one is watching.

I changed the flashphoner.properties
with the following parameters:

rtmp_activity_timer_cool_off_period=2
rtmp_activity_timer_timeout=600000

But connections are being finalized in less than 1 min.

How should I proceed to keep my rtsps sessions for at least 20 min?
 

Max

Administrator
Staff member
Good day.
The settings
rtmp_activity_timer_cool_off_period=2
rtmp_activity_timer_timeout=600000
affects RTMP pulled streams only. For RTSP streams, set the following parameter to keep the stream open in 20 minutes
Code:
rtsp_activity_timer_timeout=1200000
 

brunoibac

New Member
Good day.
The settings

affects RTMP pulled streams only. For RTSP streams, set the following parameter to keep the stream open in 20 minutes
Code:
rtsp_activity_timer_timeout=1200000

it worked out. Thank you very much
 
Top