Commit c60f2053 authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête
Browse files

agent: warn when reaching max number of turn and local addresses

parent e7aaa5dc
Pipeline #141894 failed with stages
in 10 minutes and 4 seconds
......@@ -2841,7 +2841,7 @@ nice_agent_set_relay_info(NiceAgent *agent,
length = g_list_length (component->turn_servers);
if (length == NICE_CANDIDATE_MAX_TURN_SERVERS) {
nice_debug ("Agent %p : cannot have more than %d turn servers.",
g_warning ("Agent %p : cannot have more than %d turn servers.",
agent, length);
ret = FALSE;
goto done;
......@@ -3118,7 +3118,7 @@ nice_agent_gather_candidates (
length = g_slist_length (local_addresses);
if (length > NICE_CANDIDATE_MAX_LOCAL_ADDRESSES) {
nice_debug ("Agent %p : cannot have more than %d local addresses.",
g_warning ("Agent %p : cannot have more than %d local addresses.",
agent, NICE_CANDIDATE_MAX_LOCAL_ADDRESSES);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment