Ilya Nikolaevskiy
88c2c50dbd
Use monotonic clock to derive NTP timestamps in RTCP module
...
Use helper TimeMicrosToNtp() on clock TimeInMicroseconds()
instead of CurrentNtpTime() and CurrentNtpTimeMillis()
Also update TimeMicrosToNtp() to not introduce fractional in
milliseconds offset. Expose that offset in time_utils.h
Add test showing indended behavior.
Bug: webrtc:9919
Change-Id: I8b019e11ae5b79d0b8ba113a84066b0369cd2575
Reviewed-on: https://webrtc-review.googlesource.com/c/107889
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25391}
2018-10-26 14:30:28 +00:00
..
2018-10-23 11:32:56 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-08-13 11:59:08 +00:00
2018-08-16 10:18:20 +00:00
2018-10-08 07:44:19 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-04-23 14:29:17 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-04-18 14:35:17 +00:00
2018-07-25 14:59:26 +00:00
2018-07-10 11:57:46 +00:00
2018-05-21 19:35:08 +00:00
2018-05-21 19:35:08 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-05-21 19:35:08 +00:00
2018-10-23 11:32:56 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-08-09 14:05:39 +00:00
2018-10-23 11:32:56 +00:00
2018-02-07 09:48:28 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-09-28 12:00:28 +00:00
2018-09-28 12:00:28 +00:00
2018-10-11 10:22:36 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2018-06-19 14:00:39 +00:00
2017-12-07 11:20:08 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2018-10-26 14:30:28 +00:00
2018-10-26 14:30:28 +00:00
2018-07-25 14:59:26 +00:00
2018-10-26 14:30:28 +00:00
2018-10-26 14:30:28 +00:00
2018-10-24 12:27:09 +00:00
2017-11-30 14:34:40 +00:00
2018-05-17 11:22:56 +00:00
2018-09-05 11:06:16 +00:00
2018-09-05 11:06:16 +00:00
2018-09-10 12:23:19 +00:00
2018-10-23 08:29:34 +00:00
2018-10-26 12:31:37 +00:00
2018-10-26 12:31:37 +00:00
2018-06-19 14:00:39 +00:00
2018-10-15 08:46:27 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-15 08:46:27 +00:00
2018-09-07 09:24:18 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-08-31 08:13:45 +00:00
2018-08-31 08:13:45 +00:00
2018-09-07 13:04:07 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-09-07 22:01:46 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-17 11:28:05 +00:00
2018-10-17 11:28:05 +00:00
2018-09-26 10:26:43 +00:00
2018-10-23 11:32:56 +00:00
2018-10-17 11:28:05 +00:00
2018-10-03 17:25:31 +00:00
2018-10-23 09:25:19 +00:00
2018-10-03 17:25:31 +00:00
2018-10-05 08:45:52 +00:00
2018-10-03 17:25:31 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-16 11:26:10 +00:00
2018-10-16 11:26:10 +00:00
2018-10-16 11:26:10 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 09:25:19 +00:00
2018-10-23 11:32:56 +00:00
2018-10-11 10:22:36 +00:00
2018-08-09 08:38:51 +00:00
2018-09-28 12:00:28 +00:00
2018-10-24 12:27:09 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-18 16:05:13 +00:00
2018-10-18 16:05:13 +00:00
2018-10-18 16:05:13 +00:00
2018-10-18 16:05:13 +00:00
2018-10-18 16:05:13 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-08-27 13:03:20 +00:00
2018-10-23 11:32:56 +00:00
2018-02-22 17:20:25 +00:00
2018-10-26 14:30:28 +00:00
2018-10-26 14:30:28 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-05-21 19:35:08 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-05-21 19:35:08 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-06-19 14:00:39 +00:00