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

Issue 1958113003: Remove SendPacer from ViEEncoder and make sure SendPacer starts at a valid bitrate (Closed)

Created:
4 years, 7 months ago by perkj_webrtc
Modified:
4 years, 7 months ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, tlegrand-webrtc, tterriberry_mozilla.com, the sun, 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

Remove SendPacer from ViEEncoder and make sure SendPacer starts at a valid bitrate This reverts commit e30c27205148b34ba421184efe65f6a0780b436d (https://codereview.webrtc.org/1958053002/) Original reverted cl is in patch set #1. Changes in following patch sets. The cl now also make sure SendPacer starts with the configured bitrate provided in a call to CongestionController::SetBweBitrates)() It turns out that the failing tests in 609816 is due to a bug in the current code that runs the proper at 300kbit regardless of configured start bitrate. Original cl description: Remove SendPacer from ViEEncoder This CL moves the logic where the ViEEncoder pause if the pacer is full to the BitrateController. If the queue is full, the controller reports a bitrate of zero to Call (and BitrateAllocator) BUG=chromium:609816, webrtc:5687 TBR=mflodman@webrtc.org NOTRY=True // Due to bug in android_x86 cq builder.... Committed: https://crrev.com/ec81bcd5198cc09e4332ddeee195a1c992b6a780 Cr-Commit-Position: refs/heads/master@{#12688}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Removed initial bitrate from PacedSender. Updated unittests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+575 lines, -372 lines) Patch
M webrtc/audio/audio_receive_stream_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/call/bitrate_allocator.h View 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/call/bitrate_allocator.cc View 3 chunks +11 lines, -13 lines 0 comments Download
M webrtc/call/bitrate_allocator_unittest.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M webrtc/call/call.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M webrtc/modules/bitrate_controller/bitrate_controller_impl.h View 3 chunks +10 lines, -7 lines 0 comments Download
M webrtc/modules/bitrate_controller/bitrate_controller_impl.cc View 3 chunks +13 lines, -5 lines 0 comments Download
M webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M webrtc/modules/bitrate_controller/include/bitrate_controller.h View 4 chunks +13 lines, -1 line 0 comments Download
M webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 5 chunks +87 lines, -17 lines 0 comments Download
A webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 1 2 1 chunk +117 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 5 chunks +38 lines, -6 lines 0 comments Download
M webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h View 1 chunk +10 lines, -4 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/pacing/mock/mock_paced_sender.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/pacing/paced_sender.h View 1 2 7 chunks +21 lines, -19 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 7 chunks +35 lines, -27 lines 0 comments Download
M webrtc/modules/pacing/paced_sender_unittest.cc View 1 2 24 chunks +164 lines, -206 lines 0 comments Download
M webrtc/modules/pacing/packet_router.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/packet_sender.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/packet_sender.cc View 1 2 2 chunks +3 lines, -9 lines 0 comments Download
M webrtc/video/encoder_state_feedback_unittest.cc View 1 4 chunks +3 lines, -18 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M webrtc/video/vie_encoder.h View 2 chunks +1 line, -6 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 5 chunks +3 lines, -12 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958113003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958113003/60001
4 years, 7 months ago (2016-05-10 11:21:48 UTC) #7
perkj_webrtc
Please?
4 years, 7 months ago (2016-05-10 11:22:18 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/14973) win_x64_rel on ...
4 years, 7 months ago (2016-05-10 11:28:18 UTC) #10
stefan-webrtc
Do you think it would be possible to verify that the prober runs at the ...
4 years, 7 months ago (2016-05-10 15:07:35 UTC) #12
perkj_webrtc
PTAL Fixed CongestionController unittest and also added test expectations that the bitrate has been set ...
4 years, 7 months ago (2016-05-11 08:48:35 UTC) #13
stefan-webrtc
On 2016/05/11 08:48:35, perkj_webrtc wrote: > PTAL > Fixed CongestionController unittest and also added test ...
4 years, 7 months ago (2016-05-11 09:34:01 UTC) #14
stefan-webrtc
With description updated: lgtm
4 years, 7 months ago (2016-05-11 09:37:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958113003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958113003/80001
4 years, 7 months ago (2016-05-11 10:44:54 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-11 10:45:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958113003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958113003/80001
4 years, 7 months ago (2016-05-11 10:47:54 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/3929)
4 years, 7 months ago (2016-05-11 10:51:25 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958113003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958113003/80001
4 years, 7 months ago (2016-05-11 12:59:17 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 7 months ago (2016-05-11 13:01:19 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 13:01:24 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec81bcd5198cc09e4332ddeee195a1c992b6a780
Cr-Commit-Position: refs/heads/master@{#12688}

Powered by Google App Engine
This is Rietveld 408576698