Commit 4615f68f authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Jean-Baptiste Kempf

live555 : fix http retry

(cherry picked from commit 4bc2de8c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 82b414b1
...@@ -591,7 +591,7 @@ createnew: ...@@ -591,7 +591,7 @@ createnew:
goto bailout; goto bailout;
} }
if( var_InheritBool( p_demux, "rtsp-http" ) ) if( var_CreateGetBool( p_demux, "rtsp-http" ) )
i_http_port = var_InheritInteger( p_demux, "rtsp-http-port" ); i_http_port = var_InheritInteger( p_demux, "rtsp-http-port" );
p_sys->rtsp = new RTSPClientVlc( *p_sys->env, psz_url, p_sys->rtsp = new RTSPClientVlc( *p_sys->env, psz_url,
...@@ -686,7 +686,7 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -686,7 +686,7 @@ static int SessionsSetup( demux_t *p_demux )
unsigned const thresh = 200000; /* RTP reorder threshold .2 second (default .1) */ unsigned const thresh = 200000; /* RTP reorder threshold .2 second (default .1) */
b_rtsp_tcp = var_CreateGetBool( p_demux, "rtsp-tcp" ) || b_rtsp_tcp = var_CreateGetBool( p_demux, "rtsp-tcp" ) ||
var_InheritBool( p_demux, "rtsp-http" ); var_GetBool( p_demux, "rtsp-http" );
i_client_port = var_InheritInteger( p_demux, "rtp-client-port" ); i_client_port = var_InheritInteger( p_demux, "rtp-client-port" );
/* Create the session from the SDP */ /* Create the session from the SDP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment