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

Issue 2106183002: Fix bug where min transmit bitrate wasn't working (Closed)

Created:
4 years, 5 months ago by sprang_webrtc
Modified:
4 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, pbos-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/branch-heads/53
Project:
webrtc
Visibility:
Public.

Description

Fix bug where min transmit bitrate wasn't working A recent refactoring (r13192) introduced a bug where the min transmit config wasn't being respected. Specifically, if a VideoSendStream was created without it and the reconfigured, the min transmit bitrate would not take effect. Probably the other way around as well. BUG=webrtc::5687 Committed: https://crrev.com/9c0b55142533ebfa20836609777aa7f3681cadbe Cr-Commit-Position: refs/heads/master@{#13390}

Patch Set 1 #

Patch Set 2 : Added new end to end test with mid-call reconfiguration #

Patch Set 3 : Add min transmit bitrate to Call::Stats, update test #

Total comments: 10

Patch Set 4 : Addressed comments #

Total comments: 4

Patch Set 5 : Stats contain current configured min bitrate #

Total comments: 12

Patch Set 6 : Addressed comments #

Total comments: 4

Patch Set 7 : Fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -2 lines) Patch
M webrtc/call.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 4 chunks +8 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
sprang_webrtc
This can severely impact screenshare performance and both the problem and fix have been verified ...
4 years, 5 months ago (2016-06-29 15:51:53 UTC) #2
pbos-webrtc
fwiw, lgtm, but let perkj@ review before landing
4 years, 5 months ago (2016-06-29 15:54:03 UTC) #3
sprang_webrtc
pbos, I've added a test; you may wanna take a second pass.
4 years, 5 months ago (2016-07-01 13:09:03 UTC) #4
pbos-webrtc
lgtm, make sure someone agrees with adding this to stats (because I'm not sure it's ...
4 years, 5 months ago (2016-07-01 15:37:34 UTC) #5
sprang_webrtc
+mflodman wdyt re stats?
4 years, 5 months ago (2016-07-01 15:51:02 UTC) #7
perkj_webrtc
Thanks for fixing. Can you please add webrtc::5687 to BUG= and you probably must file ...
4 years, 5 months ago (2016-07-04 07:24:49 UTC) #8
sprang_webrtc
https://codereview.webrtc.org/2106183002/diff/40001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2106183002/diff/40001/webrtc/call/call.cc#newcode721 webrtc/call/call.cc:721: current_min_transmit_bitrate_bps_ = max_padding_bitrate_bps; On 2016/07/04 07:24:49, perkj_webrtc wrote: > ...
4 years, 5 months ago (2016-07-04 09:08:47 UTC) #10
perkj_webrtc
https://codereview.webrtc.org/2106183002/diff/60001/webrtc/call.h File webrtc/call.h (right): https://codereview.webrtc.org/2106183002/diff/60001/webrtc/call.h#newcode95 webrtc/call.h:95: int min_transmit_bitrate_bps = 0; // Bitrate to send, padding ...
4 years, 5 months ago (2016-07-04 11:24:25 UTC) #11
sprang_webrtc
https://codereview.webrtc.org/2106183002/diff/60001/webrtc/call.h File webrtc/call.h (right): https://codereview.webrtc.org/2106183002/diff/60001/webrtc/call.h#newcode95 webrtc/call.h:95: int min_transmit_bitrate_bps = 0; // Bitrate to send, padding ...
4 years, 5 months ago (2016-07-04 12:26:09 UTC) #12
perkj_webrtc
https://codereview.webrtc.org/2106183002/diff/80001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2106183002/diff/80001/webrtc/video/end_to_end_tests.cc#newcode28 webrtc/video/end_to_end_tests.cc:28: #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" revert this change too? https://codereview.webrtc.org/2106183002/diff/80001/webrtc/video/video_send_stream_tests.cc File webrtc/video/video_send_stream_tests.cc ...
4 years, 5 months ago (2016-07-04 14:51:12 UTC) #13
sprang_webrtc
https://codereview.webrtc.org/2106183002/diff/80001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2106183002/diff/80001/webrtc/video/end_to_end_tests.cc#newcode28 webrtc/video/end_to_end_tests.cc:28: #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" On 2016/07/04 14:51:12, perkj_webrtc wrote: > revert ...
4 years, 5 months ago (2016-07-05 11:29:31 UTC) #14
sprang_webrtc
-mflodman +tommi ptal for call.h
4 years, 5 months ago (2016-07-05 11:30:21 UTC) #16
tommi
lgtm
4 years, 5 months ago (2016-07-05 12:01:32 UTC) #17
perkj_webrtc
lgtm with two nits. https://codereview.webrtc.org/2106183002/diff/100001/webrtc/video/video_send_stream_tests.cc File webrtc/video/video_send_stream_tests.cc (right): https://codereview.webrtc.org/2106183002/diff/100001/webrtc/video/video_send_stream_tests.cc#newcode1169 webrtc/video/video_send_stream_tests.cc:1169: // Wait until at least ...
4 years, 5 months ago (2016-07-05 12:41:16 UTC) #18
sprang_webrtc
https://codereview.webrtc.org/2106183002/diff/100001/webrtc/video/video_send_stream_tests.cc File webrtc/video/video_send_stream_tests.cc (right): https://codereview.webrtc.org/2106183002/diff/100001/webrtc/video/video_send_stream_tests.cc#newcode1169 webrtc/video/video_send_stream_tests.cc:1169: // Wait until at least kMinFramesToSend frames have been ...
4 years, 5 months ago (2016-07-05 12:51:01 UTC) #19
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/2106183002/120001
4 years, 5 months ago (2016-07-05 12:51:15 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 5 months ago (2016-07-05 14:51:53 UTC) #24
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/2106183002/120001
4 years, 5 months ago (2016-07-05 15:33:09 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 5 months ago (2016-07-05 17:33:36 UTC) #28
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/2106183002/120001
4 years, 5 months ago (2016-07-06 07:47:34 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-06 07:54:32 UTC) #32
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 07:54:36 UTC) #33
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 07:54:46 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9c0b55142533ebfa20836609777aa7f3681cadbe
Cr-Commit-Position: refs/heads/master@{#13390}

Powered by Google App Engine
This is Rietveld 408576698