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

Issue 2774623006: Let PacketRouter separate send and receive modules. (Closed)

Created:
3 years, 9 months ago by nisse-webrtc
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, Andrew MacDonald, zhengzhonghou_agora.io, henrika_webrtc, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, AleBzk, mflodman, danilchap
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Let PacketRouter separate send and receive modules. This is in preparation for merging the ViERemb logic in packet_router, to send REMB feedback as sender reports if possible, otherwise as receiver reports. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2774623006 Cr-Commit-Position: refs/heads/master@{#17489} Committed: https://chromium.googlesource.com/external/webrtc/+/fdbfdc9786de5ec50ff750e5a61c3d39524e24bb

Patch Set 1 #

Patch Set 2 : Change SendFeedback to use receive modules. #

Patch Set 3 : Fix copy/paste error. #

Patch Set 4 : Update test PacketRouterTest.SendFeedback to register a receive module. #

Patch Set 5 : Update MockVoEChannelProxy and tests. #

Patch Set 6 : Keep AddRtpModule, to not break downstream app. #

Patch Set 7 : Delete #if:ed out code. #

Total comments: 8

Patch Set 8 : Send feedback messages on a send module, if possible. #

Total comments: 4

Patch Set 9 : Rebased. #

Patch Set 10 : Update comment, test, and change one std::list to std::vector. #

Total comments: 4

Patch Set 11 : Eliminate std::remove. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -50 lines) Patch
M webrtc/audio/audio_receive_stream.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/audio/audio_receive_stream_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/pacing/packet_router.h View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -5 lines 0 comments Download
M webrtc/modules/pacing/packet_router.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +36 lines, -13 lines 0 comments Download
M webrtc/modules/pacing/packet_router_unittest.cc View 1 2 3 4 5 6 7 8 9 8 chunks +14 lines, -14 lines 0 comments Download
M webrtc/test/mock_voe_channel_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -4 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/voice_engine/channel_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
nisse-webrtc
PTAL. This let's the packet router keep separate lists of send and receive modules. Fredrik, ...
3 years, 9 months ago (2017-03-24 08:44:59 UTC) #2
the sun
On 2017/03/24 08:44:59, nisse-webrtc wrote: > PTAL. This let's the packet router keep separate lists ...
3 years, 9 months ago (2017-03-24 09:59:49 UTC) #3
nisse-webrtc
This seems to pass try bots now.
3 years, 9 months ago (2017-03-24 15:06:07 UTC) #4
the sun
https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc#newcode124 webrtc/modules/pacing/packet_router.cc:124: rtc::CritScope cs(&modules_crit_); From which thread is this driven, vs ...
3 years, 8 months ago (2017-03-28 12:21:52 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc#newcode124 webrtc/modules/pacing/packet_router.cc:124: rtc::CritScope cs(&modules_crit_); On 2017/03/28 12:21:52, the sun wrote: > ...
3 years, 8 months ago (2017-03-29 13:58:37 UTC) #6
the sun
https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc#newcode124 webrtc/modules/pacing/packet_router.cc:124: rtc::CritScope cs(&modules_crit_); On 2017/03/29 13:58:36, nisse-webrtc wrote: > On ...
3 years, 8 months ago (2017-03-31 07:17:14 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc#newcode124 webrtc/modules/pacing/packet_router.cc:124: rtc::CritScope cs(&modules_crit_); On 2017/03/29 13:58:36, nisse-webrtc wrote: > On ...
3 years, 8 months ago (2017-03-31 08:30:54 UTC) #8
nisse-webrtc
New version. https://codereview.webrtc.org/2774623006/diff/140001/webrtc/modules/pacing/packet_router.h File webrtc/modules/pacing/packet_router.h (right): https://codereview.webrtc.org/2774623006/diff/140001/webrtc/modules/pacing/packet_router.h#newcode32 webrtc/modules/pacing/packet_router.h:32: // on the simulcast layer in RTPVideoHeader. ...
3 years, 8 months ago (2017-03-31 09:41:32 UTC) #9
stefan-webrtc
lgtm
3 years, 8 months ago (2017-03-31 10:24:04 UTC) #10
the sun
https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc#newcode124 webrtc/modules/pacing/packet_router.cc:124: rtc::CritScope cs(&modules_crit_); On 2017/03/31 08:30:54, nisse-webrtc wrote: > On ...
3 years, 8 months ago (2017-03-31 10:38:48 UTC) #11
nisse-webrtc
https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/120001/webrtc/modules/pacing/packet_router.cc#newcode124 webrtc/modules/pacing/packet_router.cc:124: rtc::CritScope cs(&modules_crit_); On 2017/03/31 10:38:48, the sun wrote: > ...
3 years, 8 months ago (2017-03-31 10:51:53 UTC) #12
the sun
lgtm https://codereview.webrtc.org/2774623006/diff/180001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/180001/webrtc/modules/pacing/packet_router.cc#newcode61 webrtc/modules/pacing/packet_router.cc:61: rtp_receive_modules_.erase(std::remove(rtp_receive_modules_.begin(), On 2017/03/31 10:51:53, nisse-webrtc wrote: > On ...
3 years, 8 months ago (2017-03-31 10:59:57 UTC) #13
nisse-webrtc
https://codereview.webrtc.org/2774623006/diff/180001/webrtc/modules/pacing/packet_router.cc File webrtc/modules/pacing/packet_router.cc (right): https://codereview.webrtc.org/2774623006/diff/180001/webrtc/modules/pacing/packet_router.cc#newcode61 webrtc/modules/pacing/packet_router.cc:61: rtp_receive_modules_.erase(std::remove(rtp_receive_modules_.begin(), On 2017/03/31 10:59:57, the sun wrote: > no, ...
3 years, 8 months ago (2017-03-31 11:14:08 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/2774623006/200001
3 years, 8 months ago (2017-03-31 12:41:42 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 12:44:59 UTC) #24
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/external/webrtc/+/fdbfdc9786de5ec50ff750e5a...

Powered by Google App Engine
This is Rietveld 408576698