]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
one more tweak to not jump back and forth on ice when you have 2 reachable
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 26 Jan 2015 15:31:15 +0000 (10:31 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 26 Jan 2015 21:33:33 +0000 (15:33 -0600)
src/switch_rtp.c

index ad93d8ee7161b15b96dad07bed501388b41918e6..4ad259cce373bf8afccac3e4ae87854cf99282bb 100644 (file)
@@ -1154,6 +1154,7 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d
                                                                  host, port);
 
                                switch_rtp_change_ice_dest(rtp_session, ice, host, port);
+                               ice->last_ok = now;
                        }