This is needed for QuickTime Player to be able to connect properly.
backport r23325 by mstorsjo
Originally committed as revision 23383 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
... | ... |
@@ -3012,6 +3012,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url) |
3012 | 3012 |
return; |
3013 | 3013 |
} |
3014 | 3014 |
rtsp_reply_header(c, RTSP_STATUS_OK); |
3015 |
+ url_fprintf(c->pb, "Content-Base: %s/\r\n", url); |
|
3015 | 3016 |
url_fprintf(c->pb, "Content-Type: application/sdp\r\n"); |
3016 | 3017 |
url_fprintf(c->pb, "Content-Length: %d\r\n", content_length); |
3017 | 3018 |
url_fprintf(c->pb, "\r\n"); |