SAP: raw UDP has no RTCP
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 11 Jan 2009 18:36:34 +0000 (20:36 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 11 Jan 2009 18:36:47 +0000 (20:36 +0200)
modules/services_discovery/sap.c

index de9a933..3811480 100644 (file)
@@ -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
     {