|
|
Chromium Code Reviews|
Created:
3 years, 9 months ago by kthelgason Modified:
3 years, 9 months ago CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman, AlexG Target Ref:
refs/heads/master Project:
webrtc Visibility:
Public. |
DescriptionDon't reset quality scaler on resolution change.
This was causing the QualityScaler to be reconstructed each time
the resolution changes and thus the fast_rampup logic was not working
as intended. We now properly change the checking period to 5 seconds
after a downscale.
BUG=b/36457883
Review-Url: https://codereview.webrtc.org/2766513003
Cr-Commit-Position: refs/heads/master@{#17335}
Committed: https://chromium.googlesource.com/external/webrtc/+/3af6cc0de9ccfa07a3626be652c114ecca1a587f
Patch Set 1 #
Messages
Total messages: 20 (10 generated)
The CQ bit was checked by kthelgason@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
kthelgason@webrtc.org changed reviewers: + perkj@webrtc.org
ptal :)
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Don't reset quality scaler on resolution change. This was causing the QualityScaler to be reconstructed each time the resolution changes and thus the fast_rampup logic was not working as intended. We now properly change the checking period to 5 seconds after a downscale. BUG=b/36457883 ========== to ========== Don't reset quality scaler on resolution change. This was causing the QualityScaler to be reconstructed each time the resolution changes and thus the fast_rampup logic was not working as intended. We now properly change the checking period to 5 seconds after a downscale. BUG=b/36457883 ==========
Changes here looks good. But I don't know the logic of the quality scaler. Is that ok with changing resolution between frames? You will need an owners approval.
kthelgason@webrtc.org changed reviewers: + sprang@webrtc.org
On 2017/03/21 11:47:52, perkj_webrtc wrote: > Changes here looks good. But I don't know the logic of the quality scaler. Is > that ok with changing resolution between frames? > You will need an owners approval. The quality scaler will reset all it's samples after asking for an up/down scale, so that should be fine. +sprang@ for owner approval.
looks good Any easy way to add a rudimentary unit test as well?
On 2017/03/21 12:40:07, språng wrote: > looks good > Any easy way to add a rudimentary unit test as well? Not really, those tests would be very flaky as the only externally visible effect is the interval at which things run. It's on my todo-list to make the quality scaler accept an external clock source for the tests but until that happens this is not reliably testable.
On 2017/03/21 15:04:58, kthelgason wrote: > On 2017/03/21 12:40:07, språng wrote: > > looks good > > Any easy way to add a rudimentary unit test as well? > > Not really, those tests would be very flaky as the only externally visible > effect is the interval at which things run. It's on my todo-list to make the > quality scaler accept an external clock source for the tests but until that > happens this is not reliably testable. I see. rtc::FakeClock (and rtc::ScopedFakeClock) will actually work as global override even for webrtc::Clock, in case you missed that.
lgtm
The CQ bit was checked by kthelgason@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch.
Bot data: {"patchset_id": 1, "attempt_start_ts": 1490167392878700, "parent_rev":
"de5954c0a537ace208b65dc5a22cba74df07a323", "commit_rev":
"3af6cc0de9ccfa07a3626be652c114ecca1a587f"}
Message was sent while issue was closed.
Description was changed from ========== Don't reset quality scaler on resolution change. This was causing the QualityScaler to be reconstructed each time the resolution changes and thus the fast_rampup logic was not working as intended. We now properly change the checking period to 5 seconds after a downscale. BUG=b/36457883 ========== to ========== Don't reset quality scaler on resolution change. This was causing the QualityScaler to be reconstructed each time the resolution changes and thus the fast_rampup logic was not working as intended. We now properly change the checking period to 5 seconds after a downscale. BUG=b/36457883 Review-Url: https://codereview.webrtc.org/2766513003 Cr-Commit-Position: refs/heads/master@{#17335} Committed: https://chromium.googlesource.com/external/webrtc/+/3af6cc0de9ccfa07a3626be65... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/external/webrtc/+/3af6cc0de9ccfa07a3626be65... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
