[FFmpeg-devel] [PATCH] rtsp.c: keep-alive
Luca Barbato
lu_zero
Fri Mar 6 19:32:46 CET 2009
Ronald S. Bultje wrote:
> Hi,
>
> attached patch adds dummy requests to the RTSP demuxer to keep TCP
> connections (and UDP connections created through it) alive while
> streaming data. Without this, some servers will auto-timeout after a
> specified amount of time, assuming the client died (or so). Tested
> with Real servers, they timeout without this patch (my example stream
> after 80 seconds), and work fine for at least 10 minutes after this
> patch. I'll test WMS servers after that stuff is committed to SVN.
Shouldn't be enough sending rtcp RR as usual?
BTW I should check why ffplay doesn't handle rtcp BYE correctly =_=
lu
PS: you may check ffplay with rtsp://media.lscube.org/tests/tc.mov (if
you have enough bandwidth, otherwise check http://media.lscube.org for
other videos)
--
Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list