rtsp_session_t *ses;
answer->i_status = 200;
+ psz_session = httpd_MsgGet( query, "Session" );
+ const char *range = httpd_MsgGet (query, "Range");
+ if (range && strncmp (range, "npt=", 4))
+ {
+ answer->i_status = 501;
+ break;
+ }
+
vlc_mutex_lock( &rtsp->lock );
ses = RtspClientGet( rtsp, psz_session );
if( ses != NULL )
}
vlc_mutex_unlock( &rtsp->lock );
- httpd_MsgAdd( answer, "Range", "npt=now-" );
if( httpd_MsgGet( query, "Scale" ) != NULL )
httpd_MsgAdd( answer, "Scale", "1." );
break;