Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Issue 2883963002: Periodically update codec bit/frame rate settings. (Closed)

Created:
3 years, 7 months ago by sprang_webrtc
Modified:
3 years, 6 months ago
Reviewers:
holmer, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix bug in vie_encoder.cc which caused channel parameters not to be updated at regular intervals, as it was intended. That however exposes a bunch of failed test, so this CL also fixed a few other things: * FakeEncoder should trust the configured FPS value rather than guesstimating itself based on the realtime clock, so as not to completely undershoot targets in offline mode. Also, compensate for key-frame overshoots when outputting delta frames. * FrameDropper should not assuming incoming frame rate is 0 if no frames have been seen. * Fix a bunch of test cases that started failing because they were relying on the fake encoder undershooting. * Fix test BUG=7664 Review-Url: https://codereview.webrtc.org/2883963002 Cr-Commit-Position: refs/heads/master@{#18473} Committed: https://chromium.googlesource.com/external/webrtc/+/6431e21da672a5f3bbf166d3d4d98b171d015706

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 11

Patch Set 3 : Debt overflow fix #

Patch Set 4 : Added comment #

Patch Set 5 : Simplified debt handling, rebase #

Total comments: 2

Patch Set 6 : cleanup #

Patch Set 7 : Rebase #

Patch Set 8 : Dumb typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -257 lines) Patch
M webrtc/media/engine/simulcast.cc View 1 2 3 4 4 chunks +35 lines, -65 lines 0 comments Download
M webrtc/modules/video_coding/media_optimization.cc View 1 chunk +7 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/video_sender.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/test/fake_encoder.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M webrtc/test/fake_encoder.cc View 1 2 3 4 5 6 7 7 chunks +49 lines, -36 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 2 chunks +34 lines, -3 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 4 5 6 6 chunks +2 lines, -6 lines 0 comments Download
M webrtc/video/vie_encoder_unittest.cc View 1 2 3 4 5 6 92 chunks +235 lines, -145 lines 0 comments Download

Messages

Total messages: 39 (22 generated)
sprang_webrtc
ping
3 years, 7 months ago (2017-05-22 13:52:04 UTC) #8
stefan-webrtc
Could you elaborate in the CL description to make it more clear what issues you ...
3 years, 7 months ago (2017-05-23 17:03:20 UTC) #9
stefan-webrtc
On 2017/05/23 17:03:20, stefan-webrtc wrote: > Could you elaborate in the CL description to make ...
3 years, 7 months ago (2017-05-23 17:03:57 UTC) #10
sprang_webrtc
https://codereview.webrtc.org/2883963002/diff/20001/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): https://codereview.webrtc.org/2883963002/diff/20001/webrtc/modules/video_coding/video_sender.cc#newcode108 webrtc/modules/video_coding/video_sender.cc:108: // This is mainly for unit testing, disabling frame ...
3 years, 7 months ago (2017-05-24 09:07:08 UTC) #11
sprang_webrtc
ping
3 years, 6 months ago (2017-05-30 15:23:39 UTC) #12
sprang_webrtc
stefan, are you there?
3 years, 6 months ago (2017-06-02 11:12:04 UTC) #13
holmer
lgtm Sorry for the delay. Feel free to ping me if I'm too slow! https://codereview.webrtc.org/2883963002/diff/20001/webrtc/test/fake_encoder.cc ...
3 years, 6 months ago (2017-06-02 11:38:05 UTC) #15
sprang_webrtc
Updated with less accurate but much simpler debt handling. Feel free to have a look ...
3 years, 6 months ago (2017-06-05 16:51:38 UTC) #18
stefan-webrtc
lgtm assuming only fake_encoder.* was changed. But consider my comment. https://codereview.webrtc.org/2883963002/diff/80001/webrtc/test/fake_encoder.cc File webrtc/test/fake_encoder.cc (right): https://codereview.webrtc.org/2883963002/diff/80001/webrtc/test/fake_encoder.cc#newcode136 ...
3 years, 6 months ago (2017-06-05 18:33:21 UTC) #21
sprang_webrtc
https://codereview.webrtc.org/2883963002/diff/80001/webrtc/test/fake_encoder.cc File webrtc/test/fake_encoder.cc (right): https://codereview.webrtc.org/2883963002/diff/80001/webrtc/test/fake_encoder.cc#newcode136 webrtc/test/fake_encoder.cc:136: stream_bytes -= payment_size; On 2017/06/05 18:33:21, stefan-webrtc wrote: > ...
3 years, 6 months ago (2017-06-07 08:11:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2883963002/100001
3 years, 6 months ago (2017-06-07 08:11:30 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_more_configs on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_more_configs/builds/6194) mac_asan on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 6 months ago (2017-06-07 08:13:20 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2883963002/120001
3 years, 6 months ago (2017-06-07 08:59:01 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_msan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/21030)
3 years, 6 months ago (2017-06-07 09:21:44 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2883963002/140001
3 years, 6 months ago (2017-06-07 11:41:26 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/external/webrtc/+/6431e21da672a5f3bbf166d3d4d98b171d015706
3 years, 6 months ago (2017-06-07 11:59:43 UTC) #38
sprang_webrtc
3 years, 6 months ago (2017-06-07 13:17:39 UTC) #39
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.webrtc.org/2923993002/ by sprang@webrtc.org.

The reason for reverting is: Breaks some Call perf tests that are not run by the
try bots.....

Powered by Google App Engine
This is Rietveld 408576698