Henrik Boström
fe25b0e928
Report 'outbound-rtp.targetBitrate' correctly and per-RTP stream.
...
This CL fixes two issues with the old way targetBitrate was reported:
1. The target is per encoder, i.e. per SSRC, but the old way to report
it was per sender and was approximately the sum of all encodings'
targetBitrate in most cases.
2. The old value did not come directly from the VideoBitrateAllocation
and tended to be greater than the sum of all targets (don't know
why).
We know the old value was wrong and the new value correct because
the actual bytes produced by the encoder closely matches the configured
target, which wasn't always the case with the old metric implementation.
Tested with unit tests and manually in Chrome by going to
https://henbos.github.io/codec-quality/src/index.html and ensuring
target ~= actual bytes produced. It also matches the debug logging of
video_stream_encoder.cc.
Bug: webrtc:42225524, chromium:392424845
Change-Id: I7a6f69e053ebc3fd972c2c4b7712750e721c0acc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/376460
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43854}
2025-02-06 09:55:11 -08:00
..
2024-12-16 14:40:01 -08:00
2024-05-16 10:39:10 +00:00
2025-02-05 04:08:12 -08:00
2025-01-08 05:34:50 -08:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2023-11-13 13:23:04 +00:00
2025-02-05 04:08:12 -08:00
2024-10-25 16:17:04 +00:00
2025-01-08 11:55:45 -08:00
2024-12-10 15:55:26 +00:00
2024-10-25 16:17:04 +00:00
2025-01-28 01:44:01 -08:00
2025-01-27 07:52:12 -08:00
2025-01-27 07:52:12 -08:00
2025-01-17 06:19:38 -08:00
2024-06-07 06:41:51 +00:00
2024-06-07 09:47:26 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2025-01-28 03:15:36 -08:00
2025-01-22 04:10:16 -08:00
2024-12-09 17:34:59 +00:00
2025-01-08 05:34:50 -08:00
2024-12-10 15:55:26 +00:00
2024-10-18 11:18:21 +00:00
2024-12-10 15:55:26 +00:00
2025-01-08 05:34:50 -08:00
2024-09-02 12:16:47 +00:00
2024-12-10 15:55:26 +00:00
2025-01-08 05:34:50 -08:00
2024-07-23 17:23:45 +00:00
2023-11-13 13:23:04 +00:00
2024-10-01 15:28:06 +00:00
2024-10-01 15:28:06 +00:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-06-07 06:41:51 +00:00
2025-01-23 00:53:11 -08:00
2024-08-26 17:24:15 +00:00
2025-01-08 05:34:50 -08:00
2025-01-17 06:19:38 -08:00
2024-12-10 15:55:26 +00:00
2024-12-10 15:55:26 +00:00
2024-10-28 12:16:13 +00:00
2024-12-10 15:55:26 +00:00
2024-09-27 21:45:18 +00:00
2024-09-27 21:45:18 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-07-29 07:17:14 +00:00
2025-01-27 07:52:12 -08:00
2025-01-27 07:52:12 -08:00
2025-01-28 01:44:01 -08:00
2025-02-04 10:28:30 -08:00
2025-01-27 07:52:12 -08:00
2023-11-13 13:23:04 +00:00
2024-12-03 15:00:21 +00:00
2025-01-08 05:34:50 -08:00
2025-02-04 10:46:11 -08:00
2025-01-21 10:25:53 -08:00
2025-02-04 10:46:11 -08:00
2025-01-24 05:37:17 -08:00
2025-01-08 05:34:50 -08:00
2023-11-13 13:23:04 +00:00
2025-01-08 11:55:45 -08:00
2024-07-29 07:17:14 +00:00
2024-07-29 07:17:14 +00:00
2025-01-08 11:55:45 -08:00
2024-12-16 05:29:01 -08:00
2025-02-05 04:08:12 -08:00
2025-02-05 04:08:12 -08:00
2025-02-05 04:08:12 -08:00
2025-01-21 10:25:53 -08:00
2025-01-21 08:24:22 -08:00
2025-01-21 10:25:53 -08:00
2025-01-22 08:27:25 -08:00
2024-09-02 12:16:47 +00:00
2025-02-05 04:08:12 -08:00
2025-01-08 05:34:50 -08:00
2025-02-04 10:46:11 -08:00
2024-07-09 10:30:26 +00:00
2025-01-08 05:34:50 -08:00
2025-02-04 10:46:11 -08:00
2025-02-04 10:46:11 -08:00
2025-01-21 08:24:22 -08:00
2025-01-21 08:24:22 -08:00
2024-06-07 09:47:26 +00:00
2024-09-10 08:29:26 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2025-02-06 09:55:11 -08:00
2025-02-06 09:55:11 -08:00
2024-10-03 09:07:17 +00:00
2025-01-08 05:34:50 -08:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-07-03 12:27:55 +00:00
2024-10-30 11:28:11 +00:00
2024-11-20 13:06:08 +00:00
2024-10-30 11:28:11 +00:00
2024-09-02 12:16:47 +00:00
2024-06-05 08:59:49 +00:00
2024-09-02 12:16:47 +00:00
2024-10-25 16:17:04 +00:00
2025-01-08 05:34:50 -08:00
2024-10-25 16:17:04 +00:00
2024-10-25 16:17:04 +00:00
2025-01-24 05:37:17 -08:00
2025-01-22 08:27:25 -08:00
2025-01-22 08:27:25 -08:00
2024-09-03 11:56:22 +00:00
2024-09-03 11:56:22 +00:00
2024-09-02 12:16:47 +00:00
2025-01-08 05:34:50 -08:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2025-01-22 04:10:16 -08:00
2024-09-02 12:16:47 +00:00
2025-01-08 05:34:50 -08:00
2024-09-02 12:16:47 +00:00
2024-12-10 15:55:26 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2025-01-21 10:25:53 -08:00
2025-01-15 07:38:45 -08:00
2025-01-31 06:41:50 -08:00
2025-01-23 00:53:11 -08:00
2025-01-15 07:38:45 -08:00
2024-09-02 12:16:47 +00:00
2025-01-21 10:25:53 -08:00
2025-01-23 00:53:11 -08:00
2025-01-23 00:53:11 -08:00
2023-09-18 10:09:02 +00:00
2024-10-23 07:54:18 +00:00
2023-09-18 10:09:02 +00:00
2025-02-05 04:08:12 -08:00
2025-01-26 22:10:27 -08:00
2025-01-26 22:10:27 -08:00
2025-01-24 11:40:56 -08:00
2024-12-10 15:55:26 +00:00
2025-01-24 11:40:56 -08:00
2025-01-24 11:40:56 -08:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-12-10 15:55:26 +00:00
2024-11-22 11:13:47 +00:00
2024-02-08 12:52:58 +00:00
2025-01-17 23:49:26 -08:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2025-01-21 10:25:53 -08:00
2025-01-21 10:25:53 -08:00
2024-05-16 10:22:23 +00:00
2024-09-17 12:31:25 +00:00
2024-09-17 12:31:25 +00:00