[FFmpeg-devel] [PATCH] Don't send keepalive messages when interleaving RTP over TCP
Fred Rothganger
frothga at sandia.gov
Thu Apr 24 20:01:54 CEST 2014
Attached is a small patch to correct the following problem:
When receiving video via RTP interleaving over the same TCP connection
as an RTSP PLAY request, the current code sends a keepalive request
every 30 seconds. Since the response must come over the same connection
as the interleaved RTP packets, this forces the server to stop streaming
RTP. On the other hand, keepalive is completely unnecessary, since the
connection is by definition live if the interleaved packets are arriving.
This patch simply adds a check to make sure we are not using
RTSP_LOWER_TRANSPORT_TCP before sending a keepalive request.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtspdec.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140424/084be45a/attachment.bin>
More information about the ffmpeg-devel
mailing list