mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
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
This commit is contained in:
parent
8ac942d8f5
commit
577ee94871
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user