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

Issue 2117493002: Auto pause video streams based on encoder target bitrate. (Closed)

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

Description

Auto pause video streams based on encoder target bitrate. This CL changes the auto-pause logic to suspend a stream based on the encoder target bitrate instead of the allocated bitrate for a stream, to account for possible protection, e.g. FEC and NACK. This CL also adds periodic logging of the current BWE and possibility to run with suspension in video loopback test. BUG=webrtc:5868 R=stefan@webrtc.org Committed: https://crrev.com/48a4beb7a406588419d0464154c0afdc5bd41531 Cr-Commit-Position: refs/heads/master@{#13360}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Addressed review comments by Stefan #

Patch Set 3 : Removed double logging. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -188 lines) Patch
M webrtc/call/bitrate_allocator.h View 1 4 chunks +23 lines, -11 lines 0 comments Download
M webrtc/call/bitrate_allocator.cc View 1 2 9 chunks +100 lines, -25 lines 0 comments Download
M webrtc/call/bitrate_allocator_unittest.cc View 6 chunks +229 lines, -126 lines 0 comments Download
M webrtc/video/full_stack.cc View 15 chunks +15 lines, -15 lines 0 comments Download
M webrtc/video/screenshare_loopback.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_loopback.cc View 2 chunks +7 lines, -1 line 0 comments Download
M webrtc/video/video_quality_test.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream.h View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 chunk +9 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
mflodman
Stefan, Please take a look.
4 years, 5 months ago (2016-06-30 15:20:17 UTC) #6
stefan-webrtc
lg, just a few comments. https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc#newcode49 webrtc/call/bitrate_allocator.cc:49: num_pause_events_); Good to have! ...
4 years, 5 months ago (2016-06-30 16:17:38 UTC) #7
mflodman
Stefan, Please take another look. https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc#newcode49 webrtc/call/bitrate_allocator.cc:49: num_pause_events_); On 2016/06/30 16:17:38, ...
4 years, 5 months ago (2016-07-01 09:40:15 UTC) #8
stefan-webrtc
lgtm https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc#newcode83 webrtc/call/bitrate_allocator.cc:83: << " and current estimate of " << ...
4 years, 5 months ago (2016-07-01 10:42:49 UTC) #9
stefan-webrtc
But please make sure the allocation is logged as agreed.
4 years, 5 months ago (2016-07-01 10:43:14 UTC) #10
mflodman
https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc File webrtc/call/bitrate_allocator.cc (right): https://codereview.webrtc.org/2117493002/diff/1/webrtc/call/bitrate_allocator.cc#newcode83 webrtc/call/bitrate_allocator.cc:83: << " and current estimate of " << target_bitrate_bps ...
4 years, 5 months ago (2016-07-01 10:52:29 UTC) #11
mflodman
And removing the double logging. I'll submit this patch set manually since this is only ...
4 years, 5 months ago (2016-07-01 10:57:13 UTC) #12
stefan-webrtc
lgtm
4 years, 5 months ago (2016-07-01 10:59:42 UTC) #13
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/48a4beb7a406588419d0464154c0afdc5bd41531 Cr-Commit-Position: refs/heads/master@{#13360}
4 years, 5 months ago (2016-07-01 11:04:16 UTC) #16
mflodman
4 years, 5 months ago (2016-07-01 11:04:17 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
48a4beb7a406588419d0464154c0afdc5bd41531 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698