agent.h | agent.h | |||
---|---|---|---|---|
skipping to change at line 495 | skipping to change at line 495 | |||
<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() and wait for the | You must first call nice_agent_gather_candidates() and wait for the | |||
#NiceAgent::candidate-gathering-done signale before | #NiceAgent::candidate-gathering-done signale before | |||
calling nice_agent_set_remote_candidates() | calling nice_agent_set_remote_candidates() | |||
</para> | </para> | |||
<para> | ||||
Since 0.1.3, there is no need to wait for the candidate-gathering-done | ||||
signal. | ||||
Remote candidates can be set even while gathering local candidates. | ||||
Newly discovered local candidates will automatically be paired with | ||||
existing remote candidates. | ||||
</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, | |||
guint stream_id, | guint stream_id, | |||
guint component_id, | guint component_id, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 7 lines changed or added | |||