Browse Source

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.


backport r23325 by mstorsjo


Originally committed as revision 23383 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
tags/v0.6
Reinhard Tartler 15 years ago
parent
commit
1f1d2fa75c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffserver.c

+ 1
- 0
ffserver.c View File

@@ -3012,6 +3012,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");


Loading…
Cancel
Save