summaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-05-25 19:23:18 +0000
committerMartin Storsjö <martin@martin.st>2010-05-25 19:23:18 +0000
commit577ee94871b0062eeed34508ff2099704252fa19 (patch)
treeb1ecdc48bb9847706bc34e9e35f8e07c88cdca2e /ffserver.c
parent8ac942d8f5b8d104448b52c543d99df50e1db0f9 (diff)
downloadffmpeg-streaming-577ee94871b0062eeed34508ff2099704252fa19.zip
ffmpeg-streaming-577ee94871b0062eeed34508ff2099704252fa19.tar.gz
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
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud