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

conncheck: ignore refreshes for tls turn server for OC2007R2

Relay candidates obtained from TLS turn server don't have to be
refreshed in OC2007R2 compatibility mode.
parent 4b704525
Pipeline #144161 failed with stages
in 8 minutes and 49 seconds
......@@ -3794,7 +3794,9 @@ priv_add_new_turn_refresh (NiceAgent *agent, CandidateDiscovery *cdisco,
{
CandidateRefresh *cand;
if (cdisco->turn->type != NICE_RELAY_TYPE_TURN_UDP)
if (cdisco->turn->type == NICE_RELAY_TYPE_TURN_TLS &&
(agent->compatibility == NICE_COMPATIBILITY_OC2007 ||
agent->compatibility == NICE_COMPATIBILITY_OC2007R2))
return;
cand = g_slice_new0 (CandidateRefresh);
......
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