[vlc-devel] [PATCH] Quicktime 404 error on RTSP SETUP.
Brian Raymond
braymond at echostorm.net
Tue Sep 26 06:56:21 CEST 2006
After changeset 14552 (https://trac.videolan.org/vlc/changeset/14552)
Quicktime started throwing a 404 when accessing a stream because the
URL for the stream was no longer absolute. I'm not sure why the
absolute URL was pulled out of the SDP file so to get Quicktime
working again I added a Content-Base header to DESCRIBE, this leaves
the other change as is but allows QT to use RTSP against VLC.
Index: modules/stream_out/rtp.c
===================================================================
--- modules/stream_out/rtp.c (revision 16859)
+++ modules/stream_out/rtp.c (working copy)
@@ -1729,6 +1729,7 @@
answer->i_status = 200;
answer->psz_status = strdup( "OK" );
httpd_MsgAdd( answer, "Content-type", "%s",
"application/sdp" );
+ httpd_MsgAdd( answer, "Content-Base", "%s/", p_sys-
>psz_rtsp_control );
answer->p_body = (uint8_t *)psz_sdp;
answer->i_body = strlen( psz_sdp );
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list