mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 17:22:21 +00:00
FS-8071 amendment
This commit is contained in:
parent
d415d1d3bf
commit
82fc6075cc
@ -1182,6 +1182,7 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d
|
|||||||
|
|
||||||
if (cmp) {
|
if (cmp) {
|
||||||
ice->last_ok = now;
|
ice->last_ok = now;
|
||||||
|
rtp_session->wrong_addrs = 0;
|
||||||
} else {
|
} else {
|
||||||
if ((rtp_session->dtls->state != DS_READY || !ice->ready || !ice->rready)) {
|
if ((rtp_session->dtls->state != DS_READY || !ice->ready || !ice->rready)) {
|
||||||
if (elapsed > 500 || rtp_session->wrong_addrs > 1) {
|
if (elapsed > 500 || rtp_session->wrong_addrs > 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user