git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8ac942d
)
ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests
author
Martin Storsjö
<martin@martin.st>
Tue, 25 May 2010 19:23:18 +0000
(19:23 +0000)
committer
Martin Storsjö
<martin@martin.st>
Tue, 25 May 2010 19:23:18 +0000
(19:23 +0000)
This is needed for QuickTime Player to be able to connect properly.
Originally committed as revision 23325 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
64eb206
..
faea1a7
100644
(file)
--- 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");