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

Issue 2516983004: Move ownership of PacketRouter from CongestionController to Call. (Closed)

Created:
4 years, 1 month ago by nisse-webrtc
Modified:
4 years ago
Reviewers:
the sun, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move ownership of PacketRouter from CongestionController to Call. And delete the method CongestionController::packet_router. BUG=None Committed: https://crrev.com/0245da0fa0eb370dd7b8d8fb1a2da89200fe46ff Cr-Commit-Position: refs/heads/master@{#15323}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Delete also MockCongestionController::packet_router. #

Patch Set 3 : Make remote_bitrate_estimator_ always set at construction. #

Patch Set 4 : Rebased. #

Total comments: 1

Patch Set 5 : Make AudioReceiveStream unittests independent of congestion controller. #

Patch Set 6 : Attempt to fix building of fuzzer test. #

Patch Set 7 : Rebase. #

Patch Set 8 : Add back packet_router method and 4-argument constructor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -141 lines) Patch
M webrtc/audio/audio_receive_stream.h View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/audio/audio_receive_stream.cc View 1 2 3 6 chunks +9 lines, -28 lines 0 comments Download
M webrtc/audio/audio_receive_stream_unittest.cc View 1 2 3 4 13 chunks +23 lines, -34 lines 0 comments Download
M webrtc/audio/audio_send_stream.h View 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/audio/audio_send_stream.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 10 chunks +19 lines, -16 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 6 chunks +21 lines, -10 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 5 6 7 4 chunks +24 lines, -29 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 1 2 3 4 5 6 7 4 chunks +13 lines, -4 lines 0 comments Download
M webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/test/fuzzers/congestion_controller_feedback_fuzzer.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/video/video_receive_stream.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/video/video_send_stream.h View 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 13 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 35 (15 generated)
nisse-webrtc
This cl moves packet_router ownership. Is it a step in the right direction?
4 years, 1 month ago (2016-11-21 13:23:50 UTC) #2
the sun
https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc File webrtc/audio/audio_receive_stream.cc (right): https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc#newcode93 webrtc/audio/audio_receive_stream.cc:93: RTC_DCHECK(packet_router); Can we DCHECK(remote_bitrate_estimator) too?
4 years, 1 month ago (2016-11-21 13:55:32 UTC) #4
nisse-webrtc
https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc File webrtc/audio/audio_receive_stream.cc (right): https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc#newcode93 webrtc/audio/audio_receive_stream.cc:93: RTC_DCHECK(packet_router); On 2016/11/21 13:55:31, the sun wrote: > Can ...
4 years, 1 month ago (2016-11-21 14:07:37 UTC) #5
the sun
https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc File webrtc/audio/audio_receive_stream.cc (right): https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc#newcode93 webrtc/audio/audio_receive_stream.cc:93: RTC_DCHECK(packet_router); On 2016/11/21 14:07:36, nisse-webrtc wrote: > On 2016/11/21 ...
4 years, 1 month ago (2016-11-21 15:36:11 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc File webrtc/audio/audio_receive_stream.cc (right): https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc#newcode93 webrtc/audio/audio_receive_stream.cc:93: RTC_DCHECK(packet_router); On 2016/11/21 15:36:11, the sun wrote: > On ...
4 years ago (2016-11-23 08:11:44 UTC) #7
stefan-webrtc
PacketRouter is fairly rtp specific at the moment. Should/can we do something about that? Maybe ...
4 years ago (2016-11-23 08:33:53 UTC) #8
nisse-webrtc
On 2016/11/23 08:11:44, nisse-webrtc wrote: > https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc > File webrtc/audio/audio_receive_stream.cc (right): > > https://codereview.webrtc.org/2516983004/diff/1/webrtc/audio/audio_receive_stream.cc#newcode93 > ...
4 years ago (2016-11-28 12:27:33 UTC) #9
nisse-webrtc
https://codereview.webrtc.org/2516983004/diff/60001/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h File webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h (right): https://codereview.webrtc.org/2516983004/diff/60001/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h#newcode48 webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h:48: MOCK_METHOD1(GetRemoteBitrateEstimator, This mock method returns a NULL RemoteBitrateEstimator, breaking ...
4 years ago (2016-11-28 13:25:26 UTC) #10
stefan-webrtc
lgtm
4 years ago (2016-11-29 13:50:11 UTC) #12
nisse-webrtc
Fredrik: ping?
4 years ago (2016-11-29 14:21:49 UTC) #13
the sun
thanks for the ping! LGTM
4 years ago (2016-11-29 14:53:13 UTC) #14
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/2516983004/80001
4 years ago (2016-11-29 14:54:31 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_libfuzzer_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_libfuzzer_rel/builds/7717)
4 years ago (2016-11-29 15:08:42 UTC) #18
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/2516983004/100001
4 years ago (2016-11-29 15:38:35 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_dbg/builds/3697)
4 years ago (2016-11-29 15:57:45 UTC) #23
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/2516983004/100001
4 years ago (2016-11-29 16:05:45 UTC) #25
commit-bot: I haz the power
Failed to apply patch for webrtc/modules/congestion_controller/include/congestion_controller.h: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-11-29 16:35:42 UTC) #27
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/2516983004/140001
4 years ago (2016-11-30 10:23:03 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-11-30 11:35:25 UTC) #33
commit-bot: I haz the power
4 years ago (2016-11-30 11:35:36 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0245da0fa0eb370dd7b8d8fb1a2da89200fe46ff
Cr-Commit-Position: refs/heads/master@{#15323}

Powered by Google App Engine
This is Rietveld 408576698