Danil Chapovalov
24e704f148
Cleanup calculating time between RTCP reports
...
Move that calculation into dedicated function, move comment why it is calculated the way it is into the same function.
Cleanup that comment - remove parts unused by current code, in particular remove description of code that was deleted a while ago
Use more strict types for the calculation to make it clearer.
Replace DCHECK result can't be zero with a clamp to ensure it can't be zero, because with large bitrates it may.
Reland of https://webrtc-review.googlesource.com/c/src/+/315143
Bug: None
Change-Id: I41ce383a2f19d489e4cae0b1bf1f720e0ffdd17a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/315460
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40538}
2023-08-10 20:40:15 +00:00
..
2023-08-07 08:28:48 +00:00
2023-04-20 10:39:37 +00:00
2021-05-20 13:42:57 +00:00
2021-05-20 13:42:57 +00:00
2021-08-10 10:40:03 +00:00
2021-06-22 14:44:04 +00:00
2021-08-10 10:40:03 +00:00
2020-07-21 14:01:27 +00:00
2020-07-21 14:01:27 +00:00
2020-06-29 12:54:43 +00:00
2023-06-27 21:32:46 +00:00
2021-05-20 13:42:57 +00:00
2021-05-20 13:42:57 +00:00
2021-05-20 13:42:57 +00:00
2020-11-09 10:47:55 +00:00
2019-12-06 15:20:29 +00:00
2020-07-07 12:13:47 +00:00
2020-07-07 12:13:47 +00:00
2021-08-09 15:51:03 +00:00
2021-07-28 09:19:01 +00:00
2021-08-10 10:40:03 +00:00
2023-06-13 13:02:14 +00:00
2023-06-27 21:32:46 +00:00
2023-06-13 13:02:14 +00:00
2023-06-13 14:30:09 +00:00
2023-06-27 21:32:46 +00:00
2023-06-13 13:02:14 +00:00
2023-01-09 21:36:45 +00:00
2023-06-15 14:22:27 +00:00
2021-07-28 09:19:01 +00:00
2023-07-24 14:57:29 +00:00
2023-06-27 21:32:46 +00:00
2021-08-09 15:51:03 +00:00
2023-06-13 13:02:14 +00:00
2023-06-13 13:02:14 +00:00
2023-08-09 10:01:58 +00:00
2023-08-09 10:01:58 +00:00
2023-03-06 08:22:25 +00:00
2023-01-18 12:44:46 +00:00
2023-01-18 12:44:46 +00:00
2023-01-18 12:44:46 +00:00
2023-07-21 10:36:49 +00:00
2022-02-28 10:04:37 +00:00
2023-04-27 11:24:38 +00:00
2023-04-27 11:24:38 +00:00
2023-07-24 16:06:08 +00:00
2023-07-24 14:57:29 +00:00
2023-06-02 14:29:19 +00:00
2022-05-10 13:38:31 +00:00
2022-05-10 13:38:31 +00:00
2019-10-10 09:14:11 +00:00
2023-06-16 17:09:00 +00:00
2023-07-13 12:08:10 +00:00
2023-07-13 12:08:10 +00:00
2023-04-18 13:43:27 +00:00
2023-08-10 20:40:15 +00:00
2023-08-10 20:40:15 +00:00
2023-05-24 14:14:53 +00:00
2023-05-26 08:11:17 +00:00
2023-05-24 14:14:53 +00:00
2023-06-27 10:41:33 +00:00
2023-05-24 14:14:53 +00:00
2023-05-24 14:14:53 +00:00
2022-07-07 12:39:25 +00:00
2022-07-07 12:39:25 +00:00
2023-04-20 02:02:45 +00:00
2021-09-24 13:18:51 +00:00
2023-01-02 14:26:28 +00:00
2021-09-07 14:19:17 +00:00
2021-09-07 14:19:17 +00:00
2021-06-28 16:42:04 +00:00
2021-08-09 15:51:03 +00:00
2020-02-17 14:52:03 +00:00
2020-02-17 14:52:03 +00:00
2023-06-06 10:23:29 +00:00
2023-01-09 09:27:35 +00:00
2022-09-27 06:55:31 +00:00
2022-09-27 06:55:31 +00:00
2020-08-17 16:37:33 +00:00
2021-07-22 14:00:26 +00:00
2022-01-24 11:50:20 +00:00
2021-08-30 09:01:47 +00:00
2022-01-24 11:50:20 +00:00
2020-01-09 12:10:19 +00:00
2021-08-30 09:01:47 +00:00
2022-01-24 11:50:20 +00:00
2021-08-09 15:51:03 +00:00
2020-02-04 10:06:44 +00:00
2022-01-24 11:50:20 +00:00
2020-11-16 11:08:48 +00:00
2021-08-09 15:51:03 +00:00
2023-01-10 12:04:30 +00:00
2021-09-24 13:18:51 +00:00
2023-01-02 14:26:28 +00:00
2020-02-17 14:52:03 +00:00
2020-04-16 17:29:18 +00:00
2021-10-22 11:52:02 +00:00
2021-11-15 21:44:59 +00:00
2021-08-09 15:51:03 +00:00
2021-08-09 15:51:03 +00:00
2023-07-22 21:47:08 +00:00
2023-01-30 12:59:54 +00:00
2023-05-25 15:26:40 +00:00
2023-05-30 13:10:07 +00:00
2023-05-30 13:10:07 +00:00
2023-03-09 16:32:22 +00:00
2023-03-29 11:37:02 +00:00
2022-10-26 21:29:20 +00:00
2023-02-27 12:16:18 +00:00
2023-07-25 06:33:09 +00:00
2023-07-25 06:33:09 +00:00
2021-06-23 13:43:50 +00:00
2021-06-23 13:43:50 +00:00
2021-06-23 13:43:50 +00:00
2023-01-18 12:44:46 +00:00
2020-11-16 11:08:48 +00:00
2023-08-10 20:40:15 +00:00
2023-07-21 10:36:49 +00:00
2023-08-10 20:40:15 +00:00
2023-07-21 10:36:49 +00:00
2023-07-21 10:36:49 +00:00
2023-08-10 20:40:15 +00:00
2023-07-21 10:36:49 +00:00
2023-07-21 10:36:49 +00:00
2023-03-24 14:03:07 +00:00
2023-07-25 06:33:09 +00:00
2023-03-24 14:03:07 +00:00
2023-06-22 17:16:41 +00:00
2023-08-07 08:28:48 +00:00
2023-07-24 14:57:29 +00:00
2023-08-08 14:07:45 +00:00
2023-08-10 10:30:29 +00:00
2023-08-10 10:30:29 +00:00
2023-08-10 10:30:29 +00:00
2023-07-27 14:35:42 +00:00
2023-08-10 10:30:29 +00:00
2023-07-27 14:35:42 +00:00
2023-07-25 06:33:09 +00:00
2023-07-24 14:57:29 +00:00
2021-08-09 15:51:03 +00:00
2021-08-09 15:51:03 +00:00
2021-08-09 15:51:03 +00:00
2021-07-19 14:27:27 +00:00
2021-07-19 14:27:27 +00:00
2021-07-19 14:27:27 +00:00
2023-01-13 13:38:42 +00:00
2023-01-13 13:38:42 +00:00
2023-01-13 13:38:42 +00:00
2023-04-20 02:02:45 +00:00
2023-02-10 08:59:59 +00:00
2023-02-10 08:59:59 +00:00
2023-08-09 10:01:58 +00:00
2023-08-09 10:01:58 +00:00
2023-07-11 14:30:18 +00:00
2023-04-25 08:18:42 +00:00
2023-04-25 08:18:42 +00:00
2023-04-25 08:18:42 +00:00
2022-05-12 10:18:05 +00:00
2022-03-25 10:41:39 +00:00
2022-05-12 10:18:05 +00:00
2021-08-09 15:51:03 +00:00
2023-07-24 14:57:29 +00:00
2023-07-24 14:57:29 +00:00
2023-06-13 13:02:14 +00:00
2023-06-13 13:02:14 +00:00
2023-06-13 13:02:14 +00:00
2023-01-09 21:36:45 +00:00
2022-12-22 14:04:21 +00:00
2023-01-31 11:58:43 +00:00
2020-05-05 13:59:14 +00:00
2020-03-24 15:55:00 +00:00
2023-01-18 12:44:46 +00:00
2020-03-24 15:55:00 +00:00
2020-01-28 19:26:28 +00:00
2020-01-28 19:26:28 +00:00
2020-01-07 09:27:34 +00:00
2022-09-27 06:55:31 +00:00
2022-09-27 06:55:31 +00:00
2020-01-15 12:26:55 +00:00
2019-12-06 15:20:29 +00:00
2019-12-06 15:20:29 +00:00
2019-12-06 15:20:29 +00:00
2021-08-30 09:01:47 +00:00
2021-08-30 09:01:47 +00:00
2021-06-16 17:09:05 +00:00
2021-11-15 16:22:09 +00:00
2021-11-15 16:22:09 +00:00
2021-06-16 17:09:05 +00:00
2020-03-24 15:55:00 +00:00
2020-03-24 15:55:00 +00:00