Commit c3a1a763 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

RTP: inform about RTSP destination syntax change

parent 467d4c93
......@@ -717,6 +717,18 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url )
goto out;
}
if( url.psz_host != NULL )
{
msg_Err( p_stream, "\"%s\" RTSP host ignored", url.psz_host );
msg_Info( p_stream, "Pass --rtsp-host=%s on the command line "
"instead.", url.psz_host );
}
if( url.i_port != 0 )
{
msg_Err( p_stream, "\"%u\" RTSP port ignored", url.i_port );
msg_Info( p_stream, "Pass --rtsp-port=%u on the command line "
"instead.", url.i_port );
}
p_sys->rtsp = RtspSetup( VLC_OBJECT(p_stream), NULL, url.psz_path );
if( p_sys->rtsp == NULL )
msg_Err( p_stream, "cannot export SDP as RTSP" );
......
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