Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
4ddad2d7
Commit
4ddad2d7
authored
Jul 26, 2012
by
Ghislain MARY
Browse files
Fix wrong comment.
parent
6bed7490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
include/mediastreamer2/ice.h
include/mediastreamer2/ice.h
+8
-2
No files found.
include/mediastreamer2/ice.h
View file @
4ddad2d7
...
...
@@ -442,8 +442,14 @@ MS2_PUBLIC const char * ice_candidate_type(const IceCandidate *candidate);
/**
* Add a local candidate to an ICE check list.
*
* This function is not to be used directly. The ice_session_gather_candidates() function SHOULD be used instead.
* However, it is used by mediastream for testing purpose since it does not use gathering.
* @param cl A pointer to a check list
* @param type The type of the local candidate to add as a string (must be one of: "host", "srflx", "prflx" or "relay")
* @param ip The IP address of the local candidate as a string (eg. 192.168.0.10)
* @param port The port of the local candidate
* @param componentID The component ID of the local candidate (usually 1 for RTP and 2 for RTCP)
* @param base A pointer to the base candidate of the candidate to add.
*
* This function is to be called when gathering local candidates.
*/
MS2_PUBLIC
IceCandidate
*
ice_add_local_candidate
(
IceCheckList
*
cl
,
const
char
*
type
,
const
char
*
ip
,
int
port
,
uint16_t
componentID
,
IceCandidate
*
base
);
...
...
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