agent.h | agent.h | |||
---|---|---|---|---|
skipping to change at line 401 | skipping to change at line 401 | |||
* @candidates: a #GList of #NiceCandidate items describing each candidate to add | * @candidates: a #GList of #NiceCandidate items describing each candidate to add | |||
* | * | |||
* Sets, adds or updates the remote candidates for a component of a stream. | * Sets, adds or updates the remote candidates for a component of a stream. | |||
* | * | |||
<note> | <note> | |||
<para> | <para> | |||
NICE_AGENT_MAX_REMOTE_CANDIDATES is the absolute maximum limit | NICE_AGENT_MAX_REMOTE_CANDIDATES is the absolute maximum limit | |||
for remote candidates. | for remote candidates. | |||
</para> | </para> | |||
<para> | <para> | |||
You must first call nice_agent_gather_candidates() before | You must first call nice_agent_gather_candidates() and wait for the | |||
#NiceAgent::candidate-gathering-done signale before | ||||
calling nice_agent_set_remote_candidates() | calling nice_agent_set_remote_candidates() | |||
</para> | </para> | |||
</note> | </note> | |||
* | * | |||
* Returns: The number of candidates added, negative on errors (memory allo cation | * Returns: The number of candidates added, negative on errors (memory allo cation | |||
* or if the local candidates are not done gathering yet) | * or if the local candidates are not done gathering yet) | |||
**/ | **/ | |||
int | int | |||
nice_agent_set_remote_candidates ( | nice_agent_set_remote_candidates ( | |||
NiceAgent *agent, | NiceAgent *agent, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||