]> git.sesse.net Git - vlc/commitdiff
GET_PARAMETERS doesn't seem to work so well agains DSS 5.5.4,
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 12 Nov 2007 23:02:18 +0000 (23:02 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 12 Nov 2007 23:02:18 +0000 (23:02 +0000)
SET_PARAMETERS works agains DSS 5.5.4 and WMS 2003. WMS2003 doesn't
accept empty parameter/value pair, so have to set something.

modules/demux/live555.cpp

index 7e62c2c056d01e1c8742a535b1f89de5eb200ae5..5272dcdd1f2342fa86eddd85b500feed87e81c59 100644 (file)
@@ -978,8 +978,7 @@ static int Demux( demux_t *p_demux )
     /* Check if we need to send the server a Keep-A-Live signal */
     if( p_sys->b_timeout_call && p_sys->rtsp && p_sys->ms )
     {
-        char *psz_bye = NULL;
-        p_sys->rtsp->getMediaSessionParameter( *p_sys->ms, NULL, psz_bye );
+        p_sys->rtsp->setMediaSessionParameter( *p_sys->ms, "vlc" , "1" );
         p_sys->b_timeout_call = VLC_FALSE;
     }