Commit c935e4cc authored by Youness Alaoui's avatar Youness Alaoui

change priv_attach_stream_component_socket to agent_attach_stream_component_socket

parent d9a559b7
...@@ -135,7 +135,7 @@ guint64 agent_candidate_pair_priority (NiceAgent *agent, NiceCandidate *local, N ...@@ -135,7 +135,7 @@ guint64 agent_candidate_pair_priority (NiceAgent *agent, NiceCandidate *local, N
GSource *agent_timeout_add_with_context (NiceAgent *agent, guint interval, GSourceFunc function, gpointer data); GSource *agent_timeout_add_with_context (NiceAgent *agent, guint interval, GSourceFunc function, gpointer data);
void priv_attach_stream_component_socket (NiceAgent *agent, void agent_attach_stream_component_socket (NiceAgent *agent,
Stream *stream, Stream *stream,
Component *component, Component *component,
NiceSocket *socket); NiceSocket *socket);
......
...@@ -777,7 +777,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent, ...@@ -777,7 +777,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
return FALSE; return FALSE;
} }
priv_attach_stream_component_socket (agent, stream, agent_attach_stream_component_socket (agent, stream,
component, cdisco->nicesock); component, cdisco->nicesock);
} }
cdisco->turn = turn; cdisco->turn = turn;
...@@ -1605,7 +1605,7 @@ nice_agent_g_source_cb ( ...@@ -1605,7 +1605,7 @@ nice_agent_g_source_cb (
*/ */
void void
priv_attach_stream_component_socket (NiceAgent *agent, agent_attach_stream_component_socket (NiceAgent *agent,
Stream *stream, Stream *stream,
Component *component, Component *component,
NiceSocket *socket) NiceSocket *socket)
...@@ -1643,7 +1643,7 @@ priv_attach_stream_component (NiceAgent *agent, ...@@ -1643,7 +1643,7 @@ priv_attach_stream_component (NiceAgent *agent,
GSList *i; GSList *i;
for (i = component->sockets; i; i = i->next) for (i = component->sockets; i; i = i->next)
priv_attach_stream_component_socket (agent, stream, component, i->data); agent_attach_stream_component_socket (agent, stream, component, i->data);
return TRUE; return TRUE;
} }
......
...@@ -414,7 +414,8 @@ NiceCandidate *discovery_add_local_host_candidate ( ...@@ -414,7 +414,8 @@ NiceCandidate *discovery_add_local_host_candidate (
if (udp_socket) { if (udp_socket) {
gboolean result; gboolean result;
priv_attach_stream_component_socket (agent, stream, component, udp_socket); agent_attach_stream_component_socket (agent, stream,
component, udp_socket);
candidate->sockptr = udp_socket; candidate->sockptr = udp_socket;
candidate->addr = udp_socket->addr; candidate->addr = udp_socket->addr;
......
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