[SCM] libav/experimental: ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:07:42 UTC 2013


The following commit has been merged in the experimental branch:
commit 577ee94871b0062eeed34508ff2099704252fa19
Author: Martin Storsjö <martin at martin.st>
Date:   Tue May 25 19:23:18 2010 +0000

    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.
    
    Originally committed as revision 23325 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffserver.c b/ffserver.c
index 64eb206..faea1a7 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3010,6 +3010,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url)
         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");

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list