Creates a new candidate. Must be freed with nice_candidate_free()
The #NiceCandidateType of the candidate to create
The #NiceAddress of the candidate
The #NiceAddress of the base address used by the candidate
The ID of the component to which belongs the candidate
The foundation of the candidate
The candidate-specific password to use (overrides the one set by nice_agent_set_local_credentials() or nice_agent_set_remote_credentials())
The priority of the candidate
The ID of the stream to which belongs the candidate
The transport being used for the candidate
The type of candidate
The candidate-specific username to use (overrides the one set by nice_agent_set_local_credentials() or nice_agent_set_remote_credentials())
Frees a #NiceCandidate
Creates a new candidate. Must be freed with nice_candidate_free()
The #NiceCandidateType of the candidate to create
Useful for debugging functions, just returns a static string with the candidate transport.
a #NiceCandidateTransport
Useful for debugging functions, just returns a static string with the candidate type.
a #NiceCandidateType
A structure to represent an ICE candidate
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 thepriority
value will represent the qvalue multiplied by 1000.