[vlc-devel] commit: SAP: raw UDP has no RTCP ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Jan 11 19:36:52 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jan 11 20:36:34 2009 +0200| [89014f68eaa6c6be07864ac30d7716d45d358df8] | committer: Rémi Denis-Courmont
SAP: raw UDP has no RTCP
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89014f68eaa6c6be07864ac30d7716d45d358df8
---
modules/services_discovery/sap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index de9a933..3811480 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -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
{
More information about the vlc-devel
mailing list