[FFmpeg-cvslog] r23325 - trunk/ffserver.c

mstorsjo subversion
Tue May 25 21:23:18 CEST 2010


Author: mstorsjo
Date: Tue May 25 21:23:18 2010
New Revision: 23325

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.

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	Tue May 25 21:16:15 2010	(r23324)
+++ trunk/ffserver.c	Tue May 25 21:23:18 2010	(r23325)
@@ -3010,6 +3010,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