Page 1 of 1

commandline parameter to control RTSP RTP/AVP/UDP timeout

Posted: 15 Oct 2014 11:45
by marranxo
Hi,

One of the best features of the vlc player is the highly configurable options available but I found one (important for me, and maybe for other users) that is missing: a parameter that controls the timeout in a RTSP session throw UDP. As far as I seen it's set to 10s by default and I thought that the parameter --rtp-timeout would modify it but it doesn't.

It would be great that this parameter, possibly named --rtsp-rtp-timeout would be included in the future or maybe addapt --rtp-timeout to control this behaivour.

Thanks.

Re: commandline parameter to control RTSP RTP/AVP/UDP timeou

Posted: 15 Oct 2014 16:26
by marranxo
I've been looking the source and it would be as easy as change fixed values in modules/access/live555.cpp in function Demux(...) and change any comparation of i_no_data_ti with a hard coded value with (var_InheritInteger( p_demux, "rtsp-rtp-timeout" ) / 300) assuming rtsp-rtp-timeout is set in ms.