Browse Source

MT#55283 restart DTLS with ICE reset

... when TLS-ID is not in use.

closes #1585

Change-Id: Ibe49f2a9942eddcb7122f7f3da849455c72c2d23
pull/1614/head
Richard Fuchs 3 years ago
parent
commit
614aa1a50a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/call.c

+ 4
- 0
daemon/call.c View File

@ -2340,6 +2340,10 @@ static void __dtls_logic(const struct sdp_ng_flags *flags,
ilogs(crypto, LOG_INFO, "TLS-ID changed, restarting DTLS");
__dtls_restart(other_media);
}
else if (ice_is_restart(other_media->ice_agent, sp) && !other_media->tls_id.len && !sp->tls_id.len) {
ilogs(crypto, LOG_INFO, "ICE restart without TLS-ID, restarting DTLS");
__dtls_restart(other_media);
}
call_str_cpy(call, &other_media->tls_id, &sp->tls_id);


Loading…
Cancel
Save