Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
f61bc3e7
Commit
f61bc3e7
authored
Feb 13, 2007
by
Dafydd Harries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nice_agent_recv_sock
darcs-hash:20070213185958-c9803-6e10b6706377ed58d5475f7d0f1efac386116481.gz
parent
ea8b62f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
agent/agent.c
agent/agent.c
+21
-0
agent/agent.h
agent/agent.h
+9
-0
nice/libnice.symbols
nice/libnice.symbols
+1
-0
No files found.
agent/agent.c
View file @
f61bc3e7
...
@@ -918,6 +918,27 @@ nice_agent_recv (
...
@@ -918,6 +918,27 @@ nice_agent_recv (
}
}
guint
nice_agent_recv_sock
(
NiceAgent
*
agent
,
guint
stream_id
,
guint
component_id
,
guint
sock
,
guint
buf_len
,
gchar
*
buf
)
{
NiceCandidate
*
candidate
;
Stream
*
stream
;
candidate
=
_local_candidate_lookup_by_fd
(
agent
,
sock
);
g_assert
(
candidate
);
stream
=
_stream_lookup
(
agent
,
candidate
->
stream_id
);
g_assert
(
stream
);
return
_nice_agent_recv
(
agent
,
stream
,
stream
->
component
,
candidate
,
buf_len
,
buf
);
}
/**
/**
* nice_agent_poll_read:
* nice_agent_poll_read:
* @agent: A NiceAgent
* @agent: A NiceAgent
...
...
agent/agent.h
View file @
f61bc3e7
...
@@ -104,6 +104,15 @@ nice_agent_recv (
...
@@ -104,6 +104,15 @@ nice_agent_recv (
guint
buf_len
,
guint
buf_len
,
gchar
*
buf
);
gchar
*
buf
);
guint
nice_agent_recv_sock
(
NiceAgent
*
agent
,
guint
stream_id
,
guint
component_id
,
guint
sock
,
guint
buf_len
,
gchar
*
buf
);
GSList
*
GSList
*
nice_agent_poll_read
(
nice_agent_poll_read
(
NiceAgent
*
agent
,
NiceAgent
*
agent
,
...
...
nice/libnice.symbols
View file @
f61bc3e7
...
@@ -17,6 +17,7 @@ T nice_agent_main_context_attach
...
@@ -17,6 +17,7 @@ T nice_agent_main_context_attach
T nice_agent_new
T nice_agent_new
T nice_agent_poll_read
T nice_agent_poll_read
T nice_agent_recv
T nice_agent_recv
T nice_agent_recv_sock
T nice_agent_remove_stream
T nice_agent_remove_stream
T nice_agent_send
T nice_agent_send
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment