This is needed for QuickTime Player to be able to connect properly. Originally committed as revision 23325 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -3010,6 +3010,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url) · 3009 unmodified lines | ||
| 3010 | 3010 | return; |
| 3011 | 3011 | } |
| 3012 | 3012 | rtsp_reply_header(c, RTSP_STATUS_OK); |
| 3013 | + url_fprintf(c->pb, "Content-Base: %s/\r\n", url); | |
| 3013 | 3014 | url_fprintf(c->pb, "Content-Type: application/sdp\r\n"); |
| 3014 | 3015 | url_fprintf(c->pb, "Content-Length: %d\r\n", content_length); |
| 3015 | 3016 | url_fprintf(c->pb, "\r\n"); |