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

Issue 1902413002: Fix flake in TwoStreamsSendAndReceive. (Closed)

Created:
4 years, 8 months ago by pbos-webrtc
Modified:
4 years, 8 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix flake in TwoStreamsSendAndReceive. Whether two streams get 300k or 150k as initial bitrate is flaky, since InitEncode may happen asynchronously either before or after two streams have shared the 300k, meaning that the first sender either thinks it should start at 300k or at 150k. This should ideally be fixed by reconfiguring encoders to use QVGA if a lower estimate arrives before the first frame is encoded, but right now that would require reconfigure logic in all VideoEncoder wrappers, which is also less than ideal. It would be good to revisit this once QualityScaler moves outside the VideoEncoder implementations (into GenericEncoder). BUG=webrtc:5678 R=stefan@webrtc.org Committed: https://crrev.com/d1f584bb06a0c042a17408072d4c7691915db6b9 Cr-Commit-Position: refs/heads/master@{#12448}

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove one initially #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -11 lines) Patch
M webrtc/media/base/videoengine_unittest.h View 1 chunk +1 line, -10 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
pbos-webrtc
PTAL
4 years, 8 months ago (2016-04-20 14:17:51 UTC) #2
stefan-webrtc
lgtm https://codereview.webrtc.org/1902413002/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right): https://codereview.webrtc.org/1902413002/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc#newcode876 webrtc/media/engine/webrtcvideoengine2_unittest.cc:876: // initially will use QVGA instead of VGA ...
4 years, 8 months ago (2016-04-20 14:26:59 UTC) #3
pbos-webrtc
remove one initially
4 years, 8 months ago (2016-04-20 14:30:56 UTC) #4
pbos-webrtc
Committed patchset #2 (id:20001) manually as d1f584bb06a0c042a17408072d4c7691915db6b9 (presubmit successful).
4 years, 8 months ago (2016-04-20 14:32:06 UTC) #6
commit-bot: I haz the power
4 years, 8 months ago (2016-04-20 14:58:55 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1f584bb06a0c042a17408072d4c7691915db6b9
Cr-Commit-Position: refs/heads/master@{#12448}

Powered by Google App Engine
This is Rietveld 408576698