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

Issue 2035383002: Implementing auto pausing of video streams. (Closed)

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

Description

Implementing auto pausing of video streams. This CL implements auto pausing video streams per stream with logic to avoid toggling state too often. Also re-enabling tests disabled for Mac, with the assumption the new logic removes flakiness. BUG=webrtc:5868, webrtc:5407 R=pbos@webrtc.org, stefan@webrtc.org Committed: https://crrev.com/101f250a30d3f5d0e157cf4569af9384a98f6696 Cr-Commit-Position: refs/heads/master@{#13092}

Patch Set 1 #

Total comments: 35

Patch Set 2 : #

Patch Set 3 : Win build fix. #

Total comments: 1

Patch Set 4 : Inverted EnoughBitrateForAllObservers return value. #

Patch Set 5 : Removed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -190 lines) Patch
M webrtc/call/bitrate_allocator.h View 1 4 chunks +31 lines, -14 lines 0 comments Download
M webrtc/call/bitrate_allocator.cc View 1 2 3 4 4 chunks +176 lines, -84 lines 0 comments Download
M webrtc/call/bitrate_allocator_unittest.cc View 1 9 chunks +172 lines, -65 lines 0 comments Download
M webrtc/call/call.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/call/rampup_tests.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/vie_encoder.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 5 chunks +6 lines, -15 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
mflodman
Stefan, Please take a look.
4 years, 6 months ago (2016-06-06 07:03:32 UTC) #2
pbos-webrtc
Some drive-by comments, not sure if they're useful for this CL, so at your discretion. ...
4 years, 6 months ago (2016-06-06 15:26:29 UTC) #4
mflodman
On 2016/06/06 15:26:29, pbos-webrtc wrote: > Some drive-by comments, not sure if they're useful for ...
4 years, 6 months ago (2016-06-06 15:49:07 UTC) #5
pbos-webrtc
On 2016/06/06 15:49:07, mflodman wrote: > On 2016/06/06 15:26:29, pbos-webrtc wrote: > > Some drive-by ...
4 years, 6 months ago (2016-06-06 16:05:33 UTC) #6
mflodman
On 2016/06/06 16:05:33, pbos-webrtc wrote: > On 2016/06/06 15:49:07, mflodman wrote: > > On 2016/06/06 ...
4 years, 6 months ago (2016-06-07 04:15:32 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc#newcode130 webrtc/call/bitrate_allocator.cc:130: if (ShouldDoLowRateAllocation(bitrate, sum_min_bitrates)) Should we call this something like ...
4 years, 6 months ago (2016-06-08 10:18:31 UTC) #8
pbos-webrtc
On 2016/06/07 04:15:32, mflodman wrote: > Also, let me now if you agree about not ...
4 years, 6 months ago (2016-06-08 11:28:57 UTC) #9
mflodman
Comments addressed, PTAL Peter and Stefan. https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc#newcode113 webrtc/call/bitrate_allocator.cc:113: On 2016/06/06 15:26:28, ...
4 years, 6 months ago (2016-06-09 13:23:13 UTC) #10
pbos-webrtc
lgtm https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.h File webrtc/call/bitrate_allocator.h (right): https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.h#newcode69 webrtc/call/bitrate_allocator.h:69: // Removes a previously added observer, but will ...
4 years, 6 months ago (2016-06-09 13:37:22 UTC) #11
stefan-webrtc
https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc#newcode130 webrtc/call/bitrate_allocator.cc:130: if (ShouldDoLowRateAllocation(bitrate, sum_min_bitrates)) On 2016/06/09 13:23:12, mflodman wrote: > ...
4 years, 6 months ago (2016-06-09 13:51:25 UTC) #12
stefan-webrtc
lgtm
4 years, 6 months ago (2016-06-09 13:55:21 UTC) #13
stefan-webrtc
lgtm
4 years, 6 months ago (2016-06-09 13:55:22 UTC) #14
stefan-webrtc
lgtm
4 years, 6 months ago (2016-06-09 13:55:23 UTC) #15
mflodman
https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2035383002/diff/1/webrtc/call/bitrate_allocator.cc#newcode208 webrtc/call/bitrate_allocator.cc:208: // DistributeBitrateEvenly. On 2016/06/09 13:51:25, stefan-webrtc (holmer) wrote: > ...
4 years, 6 months ago (2016-06-09 13:57:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035383002/80001
4 years, 6 months ago (2016-06-09 13:57:52 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14029)
4 years, 6 months ago (2016-06-09 14:12:10 UTC) #21
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/101f250a30d3f5d0e157cf4569af9384a98f6696 Cr-Commit-Position: refs/heads/master@{#13092}
4 years, 6 months ago (2016-06-09 15:21:37 UTC) #24
mflodman
4 years, 6 months ago (2016-06-09 15:21:37 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
101f250a30d3f5d0e157cf4569af9384a98f6696 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698