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

SAP: raw UDP has no RTCP

parent 9e129c71
...@@ -1020,7 +1020,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp ) ...@@ -1020,7 +1020,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
return VLC_EGENERIC; 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; p_sdp->rtcp_port = 0;
else 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