[FFmpeg-cvslog] r23383 - in branches/0.6: . ffserver.c

siretart subversion
Sat May 29 16:41:26 CEST 2010


Author: siretart
Date: Sat May 29 16:41:26 2010
New Revision: 23383

Log:
ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests

This is needed for QuickTime Player to be able to connect properly.


backport r23325 by mstorsjo

Modified:
   branches/0.6/   (props changed)
   branches/0.6/ffserver.c

Modified: branches/0.6/ffserver.c
==============================================================================
--- branches/0.6/ffserver.c	Sat May 29 16:40:31 2010	(r23382)
+++ branches/0.6/ffserver.c	Sat May 29 16:41:26 2010	(r23383)
@@ -3012,6 +3012,7 @@ static void rtsp_cmd_describe(HTTPContex
         return;
     }
     rtsp_reply_header(c, RTSP_STATUS_OK);
+    url_fprintf(c->pb, "Content-Base: %s/\r\n", url);
     url_fprintf(c->pb, "Content-Type: application/sdp\r\n");
     url_fprintf(c->pb, "Content-Length: %d\r\n", content_length);
     url_fprintf(c->pb, "\r\n");



More information about the ffmpeg-cvslog mailing list