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

Issue 2705603002: Fixes a bug where a video stream can get stuck in the suspended state. (Closed)

Created:
3 years, 10 months ago by stefan-webrtc
Modified:
3 years, 10 months ago
Reviewers:
terelius, mflodman
CC:
webrtc-reviews_webrtc.org, danilchap, zhuangzesen_agora.io, stefan-webrtc, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixes a bug where a video stream can get stuck in the suspended state. This happens if a lot of FEC is allocated when the stream becomes suspended. The required bitrate to unsuspend can then be too high so that the padding bitrate we are allowed to generate is not enough. This CL also switches the tests from using ISAC to OPUS as RampUpTest.UpDownUpAudioVideoTransportSequenceNumberRtx relies on audio BWE to work (which is only compatible with OPUS). I don't know why it didn't fail before. BUG=webrtc:7178 Review-Url: https://codereview.webrtc.org/2705603002 Cr-Commit-Position: refs/heads/master@{#16739} Committed: https://chromium.googlesource.com/external/webrtc/+/a518a39963d34616d8f0e94991c7f5fbb5affb38

Patch Set 1 #

Patch Set 2 : More changes needed to ensure tests are working. Use opus as audio codec. Add separate packet loss … #

Patch Set 3 : clean #

Patch Set 4 : . #

Patch Set 5 : all tests passing. #

Total comments: 4

Patch Set 6 : Tests cleaned up. #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -78 lines) Patch
M webrtc/call/bitrate_allocator.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/call/bitrate_allocator.cc View 1 2 3 4 4 chunks +19 lines, -3 lines 0 comments Download
M webrtc/call/bitrate_allocator_unittest.cc View 1 2 3 4 5 chunks +3 lines, -5 lines 0 comments Download
M webrtc/call/rampup_tests.h View 1 2 3 4 5 5 chunks +20 lines, -2 lines 0 comments Download
M webrtc/call/rampup_tests.cc View 1 2 3 4 5 6 7 13 chunks +125 lines, -47 lines 2 comments Download
M webrtc/test/call_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/encoder_settings.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/fake_network_pipe.cc View 2 chunks +20 lines, -19 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
stefan-webrtc
3 years, 10 months ago (2017-02-17 12:50:01 UTC) #2
stefan-webrtc
clean
3 years, 10 months ago (2017-02-20 09:49:09 UTC) #3
stefan-webrtc
.
3 years, 10 months ago (2017-02-20 09:51:15 UTC) #4
stefan-webrtc
all tests passing.
3 years, 10 months ago (2017-02-20 14:53:57 UTC) #5
stefan-webrtc
Please take a look, I hope it should pass all tests now. :)
3 years, 10 months ago (2017-02-20 14:55:28 UTC) #8
terelius
https://codereview.webrtc.org/2705603002/diff/80001/webrtc/call/rampup_tests.cc File webrtc/call/rampup_tests.cc (right): https://codereview.webrtc.org/2705603002/diff/80001/webrtc/call/rampup_tests.cc#newcode497 webrtc/call/rampup_tests.cc:497: if (num_flexfec_streams_ == 0 || flex_fec_bytes > 0) { ...
3 years, 10 months ago (2017-02-20 17:42:37 UTC) #12
stefan-webrtc
https://codereview.webrtc.org/2705603002/diff/80001/webrtc/call/rampup_tests.cc File webrtc/call/rampup_tests.cc (right): https://codereview.webrtc.org/2705603002/diff/80001/webrtc/call/rampup_tests.cc#newcode497 webrtc/call/rampup_tests.cc:497: if (num_flexfec_streams_ == 0 || flex_fec_bytes > 0) { ...
3 years, 10 months ago (2017-02-21 09:09:45 UTC) #13
stefan-webrtc
.
3 years, 10 months ago (2017-02-21 09:11:13 UTC) #14
stefan-webrtc
.
3 years, 10 months ago (2017-02-21 09:12:38 UTC) #15
terelius
lgtm with one question: https://codereview.webrtc.org/2705603002/diff/120001/webrtc/call/rampup_tests.cc File webrtc/call/rampup_tests.cc (right): https://codereview.webrtc.org/2705603002/diff/120001/webrtc/call/rampup_tests.cc#newcode567 webrtc/call/rampup_tests.cc:567: std::vector<int> loss_rates = {0, 0, ...
3 years, 10 months ago (2017-02-21 10:29:24 UTC) #16
stefan-webrtc
https://codereview.webrtc.org/2705603002/diff/120001/webrtc/call/rampup_tests.cc File webrtc/call/rampup_tests.cc (right): https://codereview.webrtc.org/2705603002/diff/120001/webrtc/call/rampup_tests.cc#newcode567 webrtc/call/rampup_tests.cc:567: std::vector<int> loss_rates = {0, 0, 0, 0}; On 2017/02/21 ...
3 years, 10 months ago (2017-02-21 10:45:18 UTC) #17
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/2705603002/120001
3 years, 10 months ago (2017-02-21 10:51:52 UTC) #19
mflodman
LGTM
3 years, 10 months ago (2017-02-21 11:40:32 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:120001) as https://chromium.googlesource.com/external/webrtc/+/a518a39963d34616d8f0e94991c7f5fbb5affb38
3 years, 10 months ago (2017-02-21 12:12:28 UTC) #23
philipel
3 years, 10 months ago (2017-02-21 14:52:11 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:120001) has been created in
https://codereview.webrtc.org/2703393002/ by philipel@webrtc.org.

The reason for reverting is: Breaks downstream.

Powered by Google App Engine
This is Rietveld 408576698