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

Issue 1972183004: Reland "Remove ViEEncoder::SetNetworkStatus" (Closed)

Created:
4 years, 7 months ago by perkj_webrtc
Modified:
4 years, 7 months ago
Reviewers:
stefan-webrtc
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/heads/master
Project:
webrtc
Visibility:
Public.

Description

This reland https://codereview.webrtc.org/1932683002/. Remove ViEEncoder::SetNetworkStatus. Original cl description: This cl removed ViEEncoder::SetNetworkStatus. Instead the PacedSender will report that frames can not be sent when the network is down and the BitrateController will report an estimated available bandwidth of 0 bps. Patchset #1 is a pure reland. Patchset #2 change the bitrate allocator to always return an initial bitrate >0 regardless of the estimates. The observer will be notified though if the network is down. BUG=webrtc:5687 Committed: https://crrev.com/fea93099f02bcde7ac3b4b245f1b64cffed1b839 Cr-Commit-Position: refs/heads/master@{#12743}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Addressed comments. #

Patch Set 5 : Fix bug in BitrateAllocator::Allocate(bitrate) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -68 lines) Patch
M webrtc/call/bitrate_allocator.h View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M webrtc/call/bitrate_allocator.cc View 1 2 3 4 4 chunks +26 lines, -11 lines 0 comments Download
M webrtc/call/bitrate_allocator_unittest.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 6 chunks +46 lines, -18 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 1 chunk +40 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 2 chunks +9 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/video_sender.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 2 chunks +7 lines, -15 lines 0 comments Download
M webrtc/video/vie_encoder.h View 2 chunks +0 lines, -3 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 3 chunks +3 lines, -15 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
perkj_webrtc
PTAL
4 years, 7 months ago (2016-05-13 12:24:19 UTC) #3
stefan-webrtc
Nice, lgtm https://codereview.webrtc.org/1972183004/diff/40001/webrtc/call/bitrate_allocator.h File webrtc/call/bitrate_allocator.h (right): https://codereview.webrtc.org/1972183004/diff/40001/webrtc/call/bitrate_allocator.h#newcode118 webrtc/call/bitrate_allocator.h:118: uint32_t last_none_zero_bitrate_bps_ GUARDED_BY(crit_sect_); non_zero https://codereview.webrtc.org/1972183004/diff/40001/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc ...
4 years, 7 months ago (2016-05-13 12:33:55 UTC) #4
perkj_webrtc
https://codereview.webrtc.org/1972183004/diff/40001/webrtc/call/bitrate_allocator.h File webrtc/call/bitrate_allocator.h (right): https://codereview.webrtc.org/1972183004/diff/40001/webrtc/call/bitrate_allocator.h#newcode118 webrtc/call/bitrate_allocator.h:118: uint32_t last_none_zero_bitrate_bps_ GUARDED_BY(crit_sect_); On 2016/05/13 12:33:55, stefan-webrtc (holmer) wrote: ...
4 years, 7 months ago (2016-05-13 13:03:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972183004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972183004/60001
4 years, 7 months ago (2016-05-13 13:03:44 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/15087)
4 years, 7 months ago (2016-05-13 13:13:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972183004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972183004/80001
4 years, 7 months ago (2016-05-14 07:42:11 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-14 07:58:52 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-14 07:59:02 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fea93099f02bcde7ac3b4b245f1b64cffed1b839
Cr-Commit-Position: refs/heads/master@{#12743}

Powered by Google App Engine
This is Rietveld 408576698