[Libav-user] RTSP Pause: Times out

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Sep 3 20:34:45 CEST 2013


2013/8/22 John Freeman <aworldgonewrong at gmail.com>:
> I have an RTSP server that supports the PAUSE command, so in my code I call
> av_read_pause and then when I want to resume playback, I call av_read_play.
>
> However, between the call to pause and the call to play, there is no call
> for keep-alive to the server and therefore the connection times out and I
> lose the stream.
>
> How can I keep the connection alive?

Maybe check the source code of RTSP-related code and try to fix it.
Previously check that your assumption about the reason is right.

-- 
Andrey Utkin


More information about the Libav-user mailing list