Commit 7832372d authored by Dafydd Harries's avatar Dafydd Harries
Browse files

rename nice_agent_component_recv -> nice_agent_recv

darcs-hash:20070208154257-c9803-23bd050ecb8c336e9161e6112170e6c92a758eab.gz
parent 9d27ed2d
......@@ -691,7 +691,7 @@ _nice_agent_candidate_recv (
/**
* nice_agent_component_recv:
* nice_agent_recv:
* @agent: a NiceAgent
* @stream_id: the ID of the stream to recieve data from
* @component_id: the ID of the component to receive data from
......@@ -703,7 +703,7 @@ _nice_agent_candidate_recv (
* Returns: the amount of data read into @buf
**/
guint
nice_agent_component_recv (
nice_agent_recv (
NiceAgent *agent,
guint stream_id,
guint component_id,
......
......@@ -60,7 +60,7 @@ nice_agent_add_remote_candidate (
gchar *password);
guint
nice_agent_component_recv (
nice_agent_recv (
NiceAgent *agent,
guint stream_id,
guint component_id,
......
......@@ -50,7 +50,7 @@ main (void)
candidate = agent->local_candidates->data;
sock = &(candidate->sock);
nice_udp_fake_socket_push_recv (sock, &addr, 7, "\x80lalala");
len = nice_agent_component_recv (agent, candidate->stream_id,
len = nice_agent_recv (agent, candidate->stream_id,
candidate->component_id, 1024, buf);
g_assert (len == 7);
g_assert (0 == strncmp (buf, "\x80lalala", 7));
......
......@@ -126,7 +126,7 @@ gst_nice_src_create (GstBaseSrc *basesrc, guint64 offset, guint length,
if (res != GST_FLOW_OK)
return res;
len = nice_agent_component_recv (nicesrc->agent, nicesrc->stream_id,
len = nice_agent_recv (nicesrc->agent, nicesrc->stream_id,
nicesrc->component_id, 1024, (gchar *) buf->data);
g_assert (len);
buf->size = len;
......
......@@ -9,11 +9,11 @@ T nice_address_to_string
T nice_agent_add_local_address
T nice_agent_add_remote_candidate
T nice_agent_add_stream
T nice_agent_component_recv
T nice_agent_free
T nice_agent_get_local_candidates
T nice_agent_new
T nice_agent_poll_read
T nice_agent_recv
T nice_agent_send
T nice_candidate_free
T nice_candidate_ice_priority
......
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