From: Anthony Minessale Date: Thu, 9 Feb 2017 17:09:52 +0000 (-0600) Subject: FS-10021: [RTP] Large RTP timestamp jump when system clock is late from internal... X-Git-Tag: v1.8.0~853 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaecc5a70c49c9e68ea232a7aa89994a0978d43e;p=thirdparty%2Ffreeswitch.git FS-10021: [RTP] Large RTP timestamp jump when system clock is late from internal timer #resolve --- diff --git a/src/switch_time.c b/src/switch_time.c index 01e6dfab15..8554c5c9f3 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -380,7 +380,7 @@ SWITCH_DECLARE(void) switch_time_set_cond_yield(switch_bool_t enable) static switch_status_t timer_generic_sync(switch_timer_t *timer) { - switch_time_t now = switch_time_now(); + switch_time_t now = switch_micro_time_now(); int64_t elapsed = (now - timer->start); timer->tick = (elapsed / timer->interval) / 1000;