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
f19e09a5
Commit
f19e09a5
authored
Nov 04, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhance/fix documentation
parent
9ca1eb42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
agent/agent.h
agent/agent.h
+8
-5
agent/candidate.h
agent/candidate.h
+9
-1
No files found.
agent/agent.h
View file @
f19e09a5
...
...
@@ -400,18 +400,21 @@ nice_agent_get_local_credentials (
* @component_id: The ID of the component the candidates are for
* @candidates: a #GList of #NiceCandidate items describing each candidate to add
*
* Sets the remote candidates for a component of a stream.
* Replaces any existing remote candidates.
* Sets, adds or updates the remote candidates for a component of a stream.
*
<note>
<para>
NICE_AGENT_MAX_REMOTE_CANDIDATES is the absolute maximum limit
for remote candidates
for remote candidates.
</para>
<para>
You must first call nice_agent_gather_candidates() before
calling nice_agent_set_remote_candidates()
</para>
</note>
*
* Returns: The number of candidates added,
*
negative on fatal (memory allocs) errors
* Returns: The number of candidates added,
negative on errors (memory allocation
*
or if the local candidates are not done gathering yet)
**/
int
nice_agent_set_remote_candidates
(
...
...
agent/candidate.h
View file @
f19e09a5
...
...
@@ -142,7 +142,7 @@ struct _TurnServer
* @transport: The transport being used for the candidate
* @addr: The #NiceAddress of the candidate
* @base_addr: The #NiceAddress of the base address used by the candidate
* @priority: The priority of the candidate
* @priority: The priority of the candidate
<emphasis> see note </emphasis>
* @stream_id: The ID of the stream to which belongs the candidate
* @component_id: The ID of the component to which belongs the candidate
* @foundation: The foundation of the candidate
...
...
@@ -155,6 +155,14 @@ struct _TurnServer
* @sockptr: The underlying socket
*
* A structure to represent an ICE candidate
<note>
<para>
The @priority is an integer as specified in the ICE draft 19. If you are
using the MSN or the GOOGLE compatibility mode (which are based on ICE
draft 6, which uses a floating point qvalue as priority), then the @priority
value will represent the qvalue multiplied by 1000.
</para>
</note>
*/
struct
_NiceCandidate
{
...
...
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