[vlc-devel] commit: Fix RTSP server ( Rafaël Carré )
Remi Denis-Courmont
rdenis at simphalempin.com
Fri Apr 11 13:07:54 CEST 2008
This is plain wrong. Go read the spec and fix the broken players.
Range: 0 is play from START, not from NOW.
Remi Denis
-- message original --
Sujet: [vlc-devel] commit: Fix RTSP server ( Rafaël Carré )
De: git at videolan.org (git version control)
Date: 10.04.2008 15:19
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr 10 17:09:10 2008 +0200| [eee192243dbe28ce3ff1a1aa0072b90522618a8b]
Fix RTSP server
Do not handle Range requests at all
This partly reverts 53474be3f66f0cdc722471f1f5aadf757e541c42
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eee192243dbe28ce3ff1a1aa0072b90522618a8b
---
modules/stream_out/rtsp.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/stream_out/rtsp.c b/modules/stream_out/rtsp.c
index 856d423..ced5aa0 100644
--- a/modules/stream_out/rtsp.c
+++ b/modules/stream_out/rtsp.c
@@ -601,12 +601,14 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
answer->i_status = 200;
psz_session = httpd_MsgGet( query, "Session" );
+#if 0
+ /* FIXME: This breaks totem, mplayer and quicktime at least */
if( httpd_MsgGet( query, "Range" ) != NULL )
{
answer->i_status = 456; /* cannot seek */
break;
}
-
+#endif
vlc_mutex_lock( &rtsp->lock );
ses = RtspClientGet( rtsp, psz_session );
if( ses != NULL )
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list