Commit aca4cee1 authored by Damien Fouilleul's avatar Damien Fouilleul

live555: backport [19973]

parent c31d13db
......@@ -847,9 +847,17 @@ static int SessionsSetup( demux_t *p_demux )
{
if( !( p_sys->rtsp->setupMediaSubsession( *sub, False,
b_rtsp_tcp ? True : False ) ) )
{
/* if we get an unsupported transport error, toggle TCP use and try again */
if( !strstr(p_sys->env->getResultMsg(), "461 Unsupported Transport")
|| !( p_sys->rtsp->setupMediaSubsession( *sub, False,
b_rtsp_tcp ? False : True ) ) )
{
msg_Err( p_demux, "SETUP of'%s/%s' failed %s", sub->mediumName(),
sub->codecName(), p_sys->env->getResultMsg() );
continue;
}
else i_active_sessions++;
}
else i_active_sessions++;
} else i_active_sessions++; /* we don't really know, let's just hope it's there */
......
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