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

Issue 2789843002: Delete VieRemb class, move functionality to PacketRouter. (Closed)

Created:
3 years, 8 months ago by nisse-webrtc
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman, philipel
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete VieRemb class, move functionality to PacketRouter. Also rename SendFeedback --> SendTransportFeedback. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2789843002 Cr-Commit-Position: refs/heads/master@{#17755} Committed: https://chromium.googlesource.com/external/webrtc/+/05843312195912a0fab761702991f5041aba9be3

Patch Set 1 #

Patch Set 2 : Delete VieRemb class, move functionality to packet router. #

Patch Set 3 : Add gn dependency. #

Patch Set 4 : Update unit tests. #

Patch Set 5 : Rewrote OnReceivedPacketWithAbsSendTime test. #

Total comments: 6

Patch Set 6 : Address nits. #

Total comments: 3

Patch Set 7 : New method PacketRouter::SendRemb. #

Total comments: 5

Patch Set 8 : Let PacketRouter manage SetREMBStatus. #

Patch Set 9 : Rebase. #

Patch Set 10 : Undo change to VideoSendStreamTest.MinTransmitBitrateRespectsRemb test. #

Patch Set 11 : Undo change to EndToEndTest.RembWithSendSideBwe test. #

Patch Set 12 : Added TODO comment on rtp.remb setting. #

Patch Set 13 : Convert ViERemb tests to PacketRouter tests. #

Total comments: 22

Patch Set 14 : Rebased. #

Patch Set 15 : Fix rebase error. #

Total comments: 7

Patch Set 16 : Style improvements for std::vector initialization. #

Patch Set 17 : Make mock SendFeedbackPacket methods return true. #

Total comments: 1

Patch Set 18 : Delete obsolete suppression for PacketRouterTest.SendTransportFeedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -573 lines) Patch
M tools-webrtc/valgrind/memcheck/suppressions.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +1 line, -14 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +6 lines, -10 lines 0 comments Download
M webrtc/call/rtp_transport_controller_send.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 1 2 3 4 5 chunks +18 lines, -11 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/congestion_controller/include/receive_side_congestion_controller.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/receive_side_congestion_controller.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/pacing/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/pacing/packet_router.h View 1 2 3 4 5 6 4 chunks +23 lines, -2 lines 0 comments Download
M webrtc/modules/pacing/packet_router.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +88 lines, -2 lines 0 comments Download
M webrtc/modules/pacing/packet_router_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +225 lines, -5 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc View 1 2 3 12 chunks +14 lines, -13 lines 0 comments Download
M webrtc/video/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -3 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.h View 1 3 chunks +0 lines, -3 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 2 3 4 5 6 7 5 chunks +0 lines, -11 lines 0 comments Download
M webrtc/video/rtp_stream_receiver_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_receive_stream.h View 1 9 10 11 12 13 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/video/video_receive_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/video/video_send_stream.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 14 chunks +2 lines, -18 lines 0 comments Download
D webrtc/video/vie_remb.h View 1 1 chunk +0 lines, -78 lines 0 comments Download
D webrtc/video/vie_remb.cc View 1 1 chunk +0 lines, -135 lines 0 comments Download
M webrtc/video/vie_remb_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -249 lines 0 comments Download
M webrtc/video_receive_stream.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (18 generated)
nisse-webrtc
PTAL, this is a first attempt, not yet working.
3 years, 8 months ago (2017-03-31 13:49:35 UTC) #3
stefan-webrtc
Looks good, when it works. :)
3 years, 8 months ago (2017-03-31 14:26:49 UTC) #4
nisse-webrtc
Seems to pass tests now. https://codereview.webrtc.org/2789843002/diff/80001/webrtc/modules/congestion_controller/congestion_controller_unittest.cc File webrtc/modules/congestion_controller/congestion_controller_unittest.cc (right): https://codereview.webrtc.org/2789843002/diff/80001/webrtc/modules/congestion_controller/congestion_controller_unittest.cc#newcode347 webrtc/modules/congestion_controller/congestion_controller_unittest.cc:347: TEST(ReceiveSideCongestionControllerTest, OnReceivedPacketWithAbsSendTime) { This ...
3 years, 8 months ago (2017-04-03 11:32:36 UTC) #5
stefan-webrtc
lgtm % nits https://codereview.webrtc.org/2789843002/diff/80001/webrtc/modules/pacing/packet_router.h File webrtc/modules/pacing/packet_router.h (right): https://codereview.webrtc.org/2789843002/diff/80001/webrtc/modules/pacing/packet_router.h#newcode93 webrtc/modules/pacing/packet_router.h:93: uint32_t bitrate_ GUARDED_BY(remb_crit_); Add units to ...
3 years, 8 months ago (2017-04-03 12:31:51 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/80001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/80001/webrtc/modules/pacing/packet_router.cc#newcode159 webrtc/modules/pacing/packet_router.cc:159: // TODO(nisse): Check REMB status of the modules? Or ...
3 years, 8 months ago (2017-04-03 14:45:03 UTC) #7
danilchap
https://codereview.webrtc.org/2789843002/diff/100001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/100001/webrtc/modules/pacing/packet_router.cc#newcode159 webrtc/modules/pacing/packet_router.cc:159: { Do you mind splitting this block into own ...
3 years, 8 months ago (2017-04-03 16:31:34 UTC) #8
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/100001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/100001/webrtc/modules/pacing/packet_router.cc#newcode159 webrtc/modules/pacing/packet_router.cc:159: { On 2017/04/03 16:31:34, danilchap wrote: > Do you ...
3 years, 8 months ago (2017-04-04 09:46:44 UTC) #9
danilchap
lgtm https://codereview.webrtc.org/2789843002/diff/100001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/100001/webrtc/modules/pacing/packet_router.cc#newcode159 webrtc/modules/pacing/packet_router.cc:159: { On 2017/04/04 09:46:44, nisse-webrtc wrote: > Is ...
3 years, 8 months ago (2017-04-04 10:18:27 UTC) #10
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc#newcode130 webrtc/video/rtp_stream_receiver.cc:130: if (config_.rtp.remb) { Can I delete the config_.rtp.remb flag? ...
3 years, 8 months ago (2017-04-04 12:31:46 UTC) #11
danilchap
https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc#newcode130 webrtc/video/rtp_stream_receiver.cc:130: if (config_.rtp.remb) { On 2017/04/04 12:31:46, nisse-webrtc wrote: > ...
3 years, 8 months ago (2017-04-07 07:37:41 UTC) #12
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc#newcode130 webrtc/video/rtp_stream_receiver.cc:130: if (config_.rtp.remb) { On 2017/04/07 07:37:40, danilchap wrote: > ...
3 years, 8 months ago (2017-04-07 08:21:44 UTC) #13
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc#newcode130 webrtc/video/rtp_stream_receiver.cc:130: if (config_.rtp.remb) { On 2017/04/07 08:21:44, nisse-webrtc wrote: > ...
3 years, 8 months ago (2017-04-07 08:32:18 UTC) #14
danilchap
On 2017/04/07 08:32:18, nisse-webrtc wrote: > https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc > File webrtc/video/rtp_stream_receiver.cc (right): > > https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc#newcode130 > ...
3 years, 8 months ago (2017-04-07 08:45:28 UTC) #15
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2789843002/diff/120001/webrtc/video/rtp_stream_receiver.cc#newcode130 webrtc/video/rtp_stream_receiver.cc:130: if (config_.rtp.remb) { On 2017/04/07 08:32:18, nisse-webrtc wrote: > ...
3 years, 8 months ago (2017-04-07 09:14:31 UTC) #16
nisse-webrtc
New version, converting test which I forgot in the earlier patchsets. I also fixed an ...
3 years, 8 months ago (2017-04-11 08:24:17 UTC) #17
stefan-webrtc
https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc#newcode94 webrtc/modules/pacing/packet_router.cc:94: } We need unittests which verify this behavior. Or ...
3 years, 8 months ago (2017-04-11 09:28:36 UTC) #18
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc#newcode94 webrtc/modules/pacing/packet_router.cc:94: } On 2017/04/11 09:28:36, stefan-webrtc wrote: > We need ...
3 years, 8 months ago (2017-04-11 10:57:42 UTC) #19
danilchap
https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc#newcode204 webrtc/modules/pacing/packet_router.cc:204: // otherwise, they will send REMB with stale info. ...
3 years, 8 months ago (2017-04-11 12:34:14 UTC) #20
nisse-webrtc
Updated tests. Do we need any additional tests of the SetREMBStatus logic? https://codereview.webrtc.org/2789843002/diff/240001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc ...
3 years, 8 months ago (2017-04-11 14:30:14 UTC) #23
danilchap
lgtm % style nits https://codereview.webrtc.org/2789843002/diff/280001/webrtc/modules/pacing/packet_router_unittest.cc File webrtc/modules/pacing/packet_router_unittest.cc (right): https://codereview.webrtc.org/2789843002/diff/280001/webrtc/modules/pacing/packet_router_unittest.cc#newcode270 webrtc/modules/pacing/packet_router_unittest.cc:270: const uint32_t bitrate_estimate = 456; ...
3 years, 8 months ago (2017-04-13 12:27:47 UTC) #30
nisse-webrtc
https://codereview.webrtc.org/2789843002/diff/280001/webrtc/modules/pacing/packet_router_unittest.cc File webrtc/modules/pacing/packet_router_unittest.cc (right): https://codereview.webrtc.org/2789843002/diff/280001/webrtc/modules/pacing/packet_router_unittest.cc#newcode270 webrtc/modules/pacing/packet_router_unittest.cc:270: const uint32_t bitrate_estimate = 456; On 2017/04/13 12:27:46, danilchap ...
3 years, 8 months ago (2017-04-18 09:51:17 UTC) #31
danilchap
https://codereview.webrtc.org/2789843002/diff/280001/webrtc/modules/pacing/packet_router_unittest.cc File webrtc/modules/pacing/packet_router_unittest.cc (right): https://codereview.webrtc.org/2789843002/diff/280001/webrtc/modules/pacing/packet_router_unittest.cc#newcode270 webrtc/modules/pacing/packet_router_unittest.cc:270: const uint32_t bitrate_estimate = 456; On 2017/04/18 09:51:16, nisse-webrtc ...
3 years, 8 months ago (2017-04-18 10:13:56 UTC) #32
nisse-webrtc
+philipel. I hope removing the suppression (which you added in cl https://codereview.webrtc.org/2278183002) works fine. https://codereview.webrtc.org/2789843002/diff/320001/webrtc/modules/pacing/packet_router_unittest.cc ...
3 years, 8 months ago (2017-04-18 11:57:38 UTC) #33
nisse-webrtc
memcheck looks green. The android failure (which I didn't investigate) seems to also have disappeared ...
3 years, 8 months ago (2017-04-18 12:13:41 UTC) #36
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/2789843002/340001
3 years, 8 months ago (2017-04-19 06:36:01 UTC) #41
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 06:38:41 UTC) #44
Message was sent while issue was closed.
Committed patchset #18 (id:340001) as
https://chromium.googlesource.com/external/webrtc/+/05843312195912a0fab761702...

Powered by Google App Engine
This is Rietveld 408576698