[FFmpeg-devel] [PATCH] handle RTSP server keep-alive
Tommy Winther
tommy at net-comm.dk
Fri Feb 24 21:14:43 CET 2012
Hi,
This is an attempt at a fix for :
https://ffmpeg.org/trac/ffmpeg/ticket/945
and this thread on ffmpeg-user:
http://ffmpeg.org/pipermail/ffmpeg-user/2012-February/005100.html
The problem is that the RTSP server sends a keep-alive request as:
OPTIONS * RTSP/1.0
CSeq: 1
Session: 9789-3
and ffmpeg incorrectly parses this as a RTSP response, thus overwriting
the cseq.
The patch checks for the OPTIONS request from the server and sends a
RTSP/1.0 200 OK response, this fixes the keep-alive and the stream keeps
playing.
There is a tcpdump attached to the trac issue with full communication
for reference.
br.
Tommy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp-server-keep-alive.patch
Type: text/x-patch
Size: 2996 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120224/36605d0a/attachment.bin>
More information about the ffmpeg-devel
mailing list