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

Issue 2562893003: Limit target encoder bitrate change frequency in the frame scheduler. (Closed)

Created:
4 years ago by Sergey Ulanov
Modified:
4 years ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit target encoder bitrate change frequency in the frame scheduler. Previously the frame scheduler was setting target bitrate whenever bandwidth estimate changes. VP8 encoder doesn't handle this very well: every time bitrate is update quality drops significanlty for the following frames. It happens because every time biutrate is updated the codec needs to be reconfigured, resulting in encoder state reset. Fixed it by adding a filter that calculates average BW estimate over last second and updates target bitrate only when the average BW estimate differs from the current target bitrate by more than 33%. Also fixed WebrtcConnectionToHost::Connect() to avoid crash when running perftests. Committed: https://crrev.com/88e024f452e7ad64a207e12366c9352ee79a6797 Cr-Commit-Position: refs/heads/master@{#437747}

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -8 lines) Patch
M remoting/protocol/webrtc_connection_to_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.h View 3 chunks +20 lines, -0 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.cc View 1 4 chunks +60 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Sergey Ulanov
4 years ago (2016-12-09 23:21:31 UTC) #3
Jamie
LGTM. I think this is fine as an incremental improvement, but it would be nice ...
4 years ago (2016-12-09 23:39:18 UTC) #4
Sergey Ulanov
> I think this is fine as an incremental improvement, but it would be nice ...
4 years ago (2016-12-10 01:22:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2562893003/20001
4 years ago (2016-12-10 01:25:22 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-10 04:04:15 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-12 15:06:14 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/88e024f452e7ad64a207e12366c9352ee79a6797
Cr-Commit-Position: refs/heads/master@{#437747}

Powered by Google App Engine
This is Rietveld 408576698