Commit 0cfe913a authored by mstorsjo's avatar mstorsjo

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f27d4524
...@@ -3010,6 +3010,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url) ...@@ -3010,6 +3010,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url)
return; return;
} }
rtsp_reply_header(c, RTSP_STATUS_OK); 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-Type: application/sdp\r\n");
url_fprintf(c->pb, "Content-Length: %d\r\n", content_length); url_fprintf(c->pb, "Content-Length: %d\r\n", content_length);
url_fprintf(c->pb, "\r\n"); url_fprintf(c->pb, "\r\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment