[farsight2/master] Stop upnp discovery if stun candidate is found
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:46 PST 2008
---
transmitters/rawudp/fs-rawudp-component.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 4c2f2a9..56ac46f 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -1336,8 +1336,10 @@ stun_recv_cb (GstPad *pad, GstBuffer *buffer,
FS_RAWUDP_COMPONENT_LOCK(self);
fs_rawudp_component_stop_stun_locked (self);
+ fs_rawudp_component_stop_upnp_discovery_locked (self);
self->priv->local_active_candidate = fs_candidate_copy (candidate);
+
FS_RAWUDP_COMPONENT_UNLOCK(self);
fs_rawudp_component_emit_candidate (self, candidate);
--
1.5.6.5
More information about the farsight-commits
mailing list