Commit c935e4cc authored by Youness Alaoui's avatar Youness Alaoui
Browse files

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
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,
Component *component,
NiceSocket *socket);
......
......@@ -777,7 +777,7 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
return FALSE;
}
priv_attach_stream_component_socket (agent, stream,
agent_attach_stream_component_socket (agent, stream,
component, cdisco->nicesock);
}
cdisco->turn = turn;
......@@ -1605,7 +1605,7 @@ nice_agent_g_source_cb (
*/
void
priv_attach_stream_component_socket (NiceAgent *agent,
agent_attach_stream_component_socket (NiceAgent *agent,
Stream *stream,
Component *component,
NiceSocket *socket)
......@@ -1643,7 +1643,7 @@ priv_attach_stream_component (NiceAgent *agent,
GSList *i;
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;
}
......
......@@ -414,7 +414,8 @@ NiceCandidate *discovery_add_local_host_candidate (
if (udp_socket) {
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->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