Page 1 of 1

rtp-timeout not working on RTSP

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

When playing a RTSP source (RTP/AVP/UDP), if the connection is lost, the player waits 10s from the last datagram to detect disconection or stream end. I've been looking at the commandline interface and it's supposed that the --rtp-timeout=# controls this behaivour but when used it's ignored. I've also tryed to set up the parameter as per media parameter with :rtp-timeout=# but same behaivour. Any tips?

Thanks.

Re: rtp-timeout not working on RTSP

Posted: 15 Oct 2014 15:21
by alkizmo
According to this post, the timeout option is hardcoded and can't be changed.
https://forum.videolan.org/viewtopic.php?f=2&t=100357

Is it that you get a disconnection and you don't want it to ever time out?
Have you tried using the ":loop" parameter? When VLC terminates the stream, the loop option would make VLC loop back the play list, which means re-starting the RTSP stream.

Re: rtp-timeout not working on RTSP

Posted: 17 Jan 2015 02:06
by Estudio Abierto
Mr alkizmo
congratulations for the simple and efficient explanation, was searching for weeks for a solution automatic detection of stream.
You masterfully resolved.
my respectful greetings.
Freddy