History

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

Martin Storsjö committed 16 years ago

Commit 577ee941 parent 8ac942d1 file · +1 −0Browse files

Showing the changes to ffserver.c (1 of 1 file). Show all

Unified · Split

ffserver.c+1−0
@@ -3010,6 +3010,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url) · 3009 unmodified lines
30103010 return;
30113011 }
30123012 rtsp_reply_header(c, RTSP_STATUS_OK);
3013+ url_fprintf(c->pb, "Content-Base: %s/\r\n", url);
30133014 url_fprintf(c->pb, "Content-Type: application/sdp\r\n");
30143015 url_fprintf(c->pb, "Content-Length: %d\r\n", content_length);
30153016 url_fprintf(c->pb, "\r\n");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t