[Nice] [nice/master] Attach new sockets when they are created.

Olivier Crete olivier.crete at collabora.co.uk
Wed Nov 5 14:01:07 PST 2008


darcs-hash:20080426002910-3e2dc-36ef20ecb418dc080bd2f187fbf3ccb4122a5b14.gz
---
 agent/discovery.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/agent/discovery.c b/agent/discovery.c
index dae70ca..e6a1db6 100644
--- a/agent/discovery.c
+++ b/agent/discovery.c
@@ -245,7 +245,8 @@ NiceCandidate *discovery_add_local_host_candidate (
       
       if (nice_udp_socket_factory_make (agent->socket_factory,
 					udp_socket, address)) {
-	
+	priv_attach_stream_component_socket (agent, stream, component,
+            udp_socket);
 
 	gboolean result = priv_add_local_candidate_pruned (component, candidate);
 	if (result == TRUE) {
-- 
1.5.6.5




More information about the Nice mailing list