Commit 89014f68 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

SAP: raw UDP has no RTCP

parent 9e129c71
......@@ -1020,7 +1020,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
return VLC_EGENERIC;
}
if (FindAttribute (p_sdp, 0, "rtcp-mux"))
if (!strcmp (vlc_proto, "udp") || FindAttribute (p_sdp, 0, "rtcp-mux"))
p_sdp->rtcp_port = 0;
else
{
......
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