Yun Zhang
4774a9fcb8
Fix rate statistic when time window running out of samples
...
Current rate statistic tracker has assumption, the tracking window will
always be full after first filled up. This assumption looks not always
true. One example is the input_framerate_ tracker inside
video_stream_sender.cc which is used for setup frame droper and encoder.
Whenever there is a gap in video stream, like mute/unmute,
pacer pause/unpause etc. The fps detected from the rate_statistics
becomes samples_filled_partial_window / full_window_size, which could
be extremely low for a while. This creates a misalignment between the
fps we told encoder/frame dropper, and the real fps we fed into them,
which causes short-term serious overshot and very bad experience on
delay, avsync, congestion etc. This may also depends on how fast
encoder could react to the gap between set fps and real fps, but
libvpx and openh264 at least cannot handle this well.
So propose a fix to update first timestamp after tracker window
drained. This will give more accurate fps estimate similar based on
active window after sample gets drained
Bug: webrtc:13403
Change-Id: I96792c11091fe8bfa63e669f4360a3b3e95593e1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/237720
Reviewed-by: Harald Alvestrand <hta@webrtc.org >
Reviewed-by: Stefan Holmer <stefan@webrtc.org >
Commit-Queue: Harald Alvestrand <hta@webrtc.org >
Cr-Commit-Position: refs/heads/main@{#35447}
2021-11-30 23:57:40 +00:00
..
2021-08-10 10:40:03 +00:00
2021-07-28 13:51:47 +00:00
2021-11-15 21:44:59 +00:00
2021-01-15 17:00:05 +00:00
2021-08-24 16:02:17 +00:00
2021-09-27 14:32:47 +00:00
2021-11-15 21:44:59 +00:00
2021-11-15 21:44:59 +00:00
2021-11-15 09:39:10 +00:00
2021-11-16 10:30:30 +00:00
2021-11-16 09:19:50 +00:00
2021-08-11 09:32:32 +00:00
2020-11-04 14:53:13 +00:00
2021-11-27 22:21:54 +00:00
2021-11-17 13:37:06 +00:00
2021-11-18 09:08:55 +00:00
2021-11-18 09:08:55 +00:00
2021-11-03 11:02:46 +00:00
2021-07-28 13:51:47 +00:00
2021-11-15 21:44:59 +00:00
2021-04-22 06:30:11 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-11-15 21:44:59 +00:00
2021-11-03 11:02:46 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-09-21 16:28:38 +00:00
2021-09-21 16:28:38 +00:00
2021-09-21 16:28:38 +00:00
2021-09-20 19:37:49 +00:00
2021-09-20 19:37:49 +00:00
2021-09-15 17:20:50 +00:00
2021-11-15 21:44:59 +00:00
2021-07-28 13:51:47 +00:00
2020-12-11 09:58:40 +00:00
2020-12-11 09:58:40 +00:00
2020-09-29 12:57:20 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2021-11-26 16:51:56 +00:00
2021-07-28 13:51:47 +00:00
2021-10-03 11:53:16 +00:00
2020-11-26 08:41:36 +00:00
2020-11-26 08:41:36 +00:00
2020-11-18 20:49:08 +00:00
2020-11-09 10:47:55 +00:00
2021-11-16 13:56:00 +00:00
2020-09-29 10:19:20 +00:00
2021-09-20 14:02:05 +00:00
2021-01-22 16:20:22 +00:00
2021-09-20 14:02:05 +00:00
2021-05-07 14:14:43 +00:00
2021-08-20 16:19:19 +00:00
2021-07-28 13:51:47 +00:00
2021-07-25 11:46:59 +00:00
2020-07-08 20:38:54 +00:00
2021-05-07 14:14:43 +00:00
2021-05-07 14:14:43 +00:00
2020-07-08 20:38:54 +00:00
2020-07-08 20:38:54 +00:00
2021-04-15 10:43:00 +00:00
2021-08-25 08:01:21 +00:00
2021-11-15 21:44:59 +00:00
2021-03-29 09:47:33 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-11-27 22:21:54 +00:00
2021-04-21 12:31:14 +00:00
2021-04-21 12:31:14 +00:00
2020-12-10 11:04:58 +00:00
2021-07-28 13:51:47 +00:00
2021-03-29 08:05:39 +00:00
2021-07-28 13:51:47 +00:00
2021-05-07 14:14:43 +00:00
2021-11-19 13:32:21 +00:00
2021-11-27 22:21:54 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2020-09-25 11:44:02 +00:00
2020-09-25 11:44:02 +00:00
2021-08-17 15:39:25 +00:00
2020-07-08 20:38:54 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-11-15 21:44:59 +00:00
2021-10-25 08:26:56 +00:00
2021-10-05 22:13:37 +00:00
2021-01-15 17:00:05 +00:00
2021-11-15 21:44:59 +00:00
2021-08-23 11:07:36 +00:00
2020-08-13 20:50:23 +00:00
2020-08-13 20:50:23 +00:00
2020-11-09 10:47:55 +00:00
2021-07-28 13:51:47 +00:00
2021-11-04 13:46:17 +00:00
2021-11-24 14:34:24 +00:00
2021-09-29 08:59:37 +00:00
2020-09-07 12:57:15 +00:00
2021-11-15 21:44:59 +00:00
2021-08-17 15:39:25 +00:00
2020-07-08 20:38:54 +00:00
2021-08-17 15:39:25 +00:00
2021-10-21 12:08:30 +00:00
2021-10-21 12:08:30 +00:00
2021-06-29 08:19:39 +00:00
2021-07-28 13:51:47 +00:00
2020-12-11 09:58:40 +00:00
2020-12-11 09:58:40 +00:00
2021-11-15 21:44:59 +00:00
2020-12-11 09:58:40 +00:00
2020-12-11 09:58:40 +00:00
2021-11-15 21:44:59 +00:00
2021-07-28 13:51:47 +00:00
2020-12-11 09:58:40 +00:00
2020-12-11 09:58:40 +00:00
2020-12-11 09:58:40 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2021-08-31 14:27:49 +00:00
2021-09-08 12:41:39 +00:00
2021-11-27 22:21:54 +00:00
2021-08-17 15:39:25 +00:00
2021-06-28 09:09:47 +00:00
2021-05-07 14:14:43 +00:00
2021-07-28 13:51:47 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2020-09-18 17:42:53 +00:00
2021-06-25 22:25:22 +00:00
2021-01-07 16:40:50 +00:00
2021-05-07 14:14:43 +00:00
2020-07-08 20:38:54 +00:00
2020-09-29 10:19:20 +00:00
2021-11-30 23:57:40 +00:00
2021-11-30 23:57:40 +00:00
2020-12-15 12:17:12 +00:00
2021-07-28 13:51:47 +00:00
2021-04-27 10:10:35 +00:00
2021-08-25 11:00:12 +00:00
2021-07-28 13:51:47 +00:00
2020-09-18 17:42:53 +00:00
2021-07-28 13:51:47 +00:00
2021-08-10 10:40:03 +00:00
2021-08-10 10:40:03 +00:00
2021-07-28 13:51:47 +00:00
2021-06-24 19:17:52 +00:00
2021-08-10 10:40:03 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-11-15 21:44:59 +00:00
2021-08-17 15:39:25 +00:00
2021-04-21 12:31:14 +00:00
2021-04-28 10:50:21 +00:00
2021-04-28 10:50:21 +00:00
2021-09-07 10:52:57 +00:00
2021-04-22 13:04:53 +00:00
2021-08-17 15:39:25 +00:00
2021-08-17 15:39:25 +00:00
2021-09-08 12:41:39 +00:00
2021-09-08 12:41:39 +00:00
2021-08-25 10:30:10 +00:00
2021-08-17 15:39:25 +00:00
2021-10-21 12:08:30 +00:00
2021-10-21 12:08:30 +00:00
2021-08-10 10:40:03 +00:00
2021-05-12 06:52:48 +00:00
2021-05-12 06:52:48 +00:00
2021-08-10 10:40:03 +00:00
2021-11-15 21:44:59 +00:00
2021-07-28 13:51:47 +00:00
2020-10-29 21:08:10 +00:00
2021-07-28 13:51:47 +00:00
2021-07-30 14:22:30 +00:00
2021-07-30 14:22:30 +00:00
2021-04-16 08:47:17 +00:00
2021-04-16 08:47:17 +00:00
2021-09-08 09:16:09 +00:00
2021-09-17 09:11:21 +00:00
2021-09-17 09:11:21 +00:00
2021-05-28 06:53:29 +00:00
2020-09-17 13:18:25 +00:00
2021-05-28 06:53:29 +00:00
2021-09-21 15:17:26 +00:00
2021-09-21 15:17:26 +00:00
2021-10-28 12:53:49 +00:00
2021-01-15 17:59:05 +00:00
2021-11-15 21:44:59 +00:00
2021-02-15 22:38:46 +00:00
2021-07-28 13:51:47 +00:00
2021-10-19 11:45:12 +00:00
2021-10-19 11:45:12 +00:00
2021-11-15 21:44:59 +00:00
2021-06-22 09:49:07 +00:00
2021-01-29 08:24:43 +00:00
2021-11-15 21:44:59 +00:00
2021-08-17 15:39:25 +00:00
2020-07-08 20:38:54 +00:00
2020-07-08 20:38:54 +00:00
2021-08-17 15:39:25 +00:00
2021-10-25 08:26:56 +00:00
2021-08-17 15:39:25 +00:00
2021-07-27 07:46:32 +00:00
2021-07-29 06:58:05 +00:00
2021-11-18 09:08:55 +00:00
2021-11-15 21:44:59 +00:00
2021-07-30 13:47:50 +00:00
2021-07-28 13:51:47 +00:00
2021-02-23 14:53:22 +00:00
2021-08-10 10:40:03 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2021-07-28 13:51:47 +00:00
2021-11-15 09:39:10 +00:00
2021-04-09 10:04:25 +00:00
2021-07-28 13:51:47 +00:00
2020-10-07 01:26:06 +00:00
2020-10-07 01:26:06 +00:00
2021-11-16 15:05:05 +00:00
2021-11-16 15:05:05 +00:00
2021-09-01 14:27:29 +00:00
2021-02-10 15:04:55 +00:00
2021-10-13 19:26:10 +00:00
2021-10-05 22:13:37 +00:00