Browse Source

MT#55283 reset time skew after correcting for it

Change-Id: I4393339aa5ec696e1d80b555d265c6fdc4471fa2
pull/1924/head
Richard Fuchs 8 months ago
parent
commit
74cc8ff942
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -2456,7 +2456,7 @@ void codec_output_rtp(struct media_packet *mp, struct codec_scheduler *csch,
ts_diff_us / 1000,
(ts_diff_us % 1000) / 100);
timeval_add_usec(&p->ttq_entry.when, ts_diff_us);
csch->output_skew += ts_diff_us;
csch->output_skew = 0;
csch->first_send_ts -= (long long) handler->dest_pt.clock_rate * ts_diff_us / 1000000;
ts_diff_us = timeval_diff(&p->ttq_entry.when, &rtpe_now); // should be 0 now
}


Loading…
Cancel
Save