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
edb4be27
Commit
edb4be27
authored
Apr 23, 2014
by
Youness Alaoui
Committed by
Olivier Crête
May 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for ice-udp and ice-tcp properties
parent
978dfdd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
agent/agent.c
agent/agent.c
+37
-0
No files found.
agent/agent.c
View file @
edb4be27
...
@@ -584,6 +584,24 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -584,6 +584,24 @@ nice_agent_class_init (NiceAgentClass *klass)
FALSE
,
FALSE
,
G_PARAM_READWRITE
|
G_PARAM_CONSTRUCT_ONLY
));
G_PARAM_READWRITE
|
G_PARAM_CONSTRUCT_ONLY
));
/**
* NiceAgent:ice-udp:
*
* Whether the agent should use ICE-UDP when gathering candidates.
* If the option is disabled, no UDP candidates will be generated. If the
* agent is in reliable mode, then pseudotcp will not be used since pseudotcp
* works on top of UDP candidates.
* <para>
* This option should be set before gathering candidates and should not be
* modified afterwards.
* </para>
* The #NiceAgent:ice-udp property can be set at the same time as the
* #NiceAgent:ice-tcp property, but both cannot be unset at the same time.
* If #NiceAgent:ice-tcp is set to %FALSE, then this property cannot be set
* to %FALSE as well.
*
* Since: UNRELEASED
*/
g_object_class_install_property
(
gobject_class
,
PROP_ICE_UDP
,
g_object_class_install_property
(
gobject_class
,
PROP_ICE_UDP
,
g_param_spec_boolean
(
g_param_spec_boolean
(
"ice-udp"
,
"ice-udp"
,
...
@@ -591,6 +609,25 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -591,6 +609,25 @@ nice_agent_class_init (NiceAgentClass *klass)
"Use ICE-UDP specification to generate UDP candidates"
,
"Use ICE-UDP specification to generate UDP candidates"
,
TRUE
,
/* use ice-udp by default */
TRUE
,
/* use ice-udp by default */
G_PARAM_READWRITE
));
G_PARAM_READWRITE
));
/**
* NiceAgent:ice-tcp:
*
* Whether the agent should use ICE-TCP when gathering candidates.
* If the option is disabled, no TCP candidates will be generated. If the
* agent is in reliable mode, then pseudotcp will need to be used over UDP
* candidates.
* <para>
* This option should be set before gathering candidates and should not be
* modified afterwards.
* </para>
* The #NiceAgent:ice-tcp property can be set at the same time as the
* #NiceAgent:ice-udp property, but both cannot be unset at the same time.
* If #NiceAgent:ice-udp is set to %FALSE, then this property cannot be set
* to %FALSE as well.
*
* Since: UNRELEASED
*/
g_object_class_install_property
(
gobject_class
,
PROP_ICE_TCP
,
g_object_class_install_property
(
gobject_class
,
PROP_ICE_TCP
,
g_param_spec_boolean
(
g_param_spec_boolean
(
"ice-tcp"
,
"ice-tcp"
,
...
...
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