1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-19 09:47:23 +00:00

FS-10021: [RTP] Large RTP timestamp jump when system clock is late from internal timer #resolve

This commit is contained in:
Anthony Minessale 2017-02-09 11:09:52 -06:00
parent 5619ffded0
commit aaecc5a70c

@ -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;