Commit 9196a5ab authored by Sébastien Escudier's avatar Sébastien Escudier

live555 : when we switch to TCP, remember it

parent fa95aef0
......@@ -677,7 +677,7 @@ static int SessionsSetup( demux_t *p_demux )
MediaSubsessionIterator *iter = NULL;
MediaSubsession *sub = NULL;
bool b_rtsp_tcp = false;
bool b_rtsp_tcp;
int i_client_port;
int i_return = VLC_SUCCESS;
unsigned int i_buffer = 0;
......@@ -777,6 +777,11 @@ static int SessionsSetup( demux_t *p_demux )
p_sys->env->getResultMsg() );
continue;
}
else
{
var_SetBool( p_demux, "rtsp-tcp", true );
b_rtsp_tcp = true;
}
}
}
......
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