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

Issue 2740163002: Don't allocate any RTPSender object for a receive only RtpRtcp module (Closed)

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

Description

Don't allocate any RTPSender object for a receive only RtpRtcp module. This is one step towards separation of send-side and receive-side processing. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2740163002 Cr-Commit-Position: refs/heads/master@{#17306} Committed: https://chromium.googlesource.com/external/webrtc/+/14adba77ecdf6b8ec604363c3717def1e60d7b73

Patch Set 1 #

Patch Set 2 : Update more methods to handle null rtp_sender_.' #

Patch Set 3 : Add a static cast, to make windows bots happier. #

Patch Set 4 : Let ModuleRtpRtcpImpl::SSRC get the ssrc from the rtcp_sender. #

Patch Set 5 : Allow ModuleRtpRtcpImpl::SetSendingStatus(true) on a receive-only module. #

Total comments: 11

Patch Set 6 : Address comments. #

Total comments: 1

Patch Set 7 : Rebased. #

Total comments: 2

Patch Set 8 : Tolerate SetSendingMediaStatus(false) on receive-only streams. #

Total comments: 9

Patch Set 9 : Address feedback. #

Total comments: 2

Patch Set 10 : Avoid calling SetSendingStatus for receive-only streams. Update TODO comments. #

Patch Set 11 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -95 lines) Patch
M webrtc/call/flexfec_receive_stream_impl.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 4 5 6 7 8 9 10 23 chunks +111 lines, -88 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (15 generated)
nisse-webrtc
PTAL. This is a first step towards separating send and receive objects.
3 years, 9 months ago (2017-03-10 12:56:33 UTC) #3
danilchap
Can you add motivation to CL description. Is it a step towards splitting RtpRtcpModule into ...
3 years, 9 months ago (2017-03-10 15:48:13 UTC) #4
nisse-webrtc
On 2017/03/10 15:48:13, danilchap wrote: > Can you add motivation to CL description. > Is ...
3 years, 9 months ago (2017-03-13 08:16:21 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2740163002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2740163002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode321 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:321: // TODO(nisse): This is currently called also when receiver_only ...
3 years, 9 months ago (2017-03-13 08:20:10 UTC) #6
danilchap
https://codereview.webrtc.org/2740163002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2740163002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode321 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:321: // TODO(nisse): This is currently called also when receiver_only ...
3 years, 9 months ago (2017-03-13 12:40:09 UTC) #7
nisse-webrtc
On 2017/03/13 12:40:09, danilchap wrote: > https://codereview.webrtc.org/2740163002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc > File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): > > https://codereview.webrtc.org/2740163002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode321 > ...
3 years, 9 months ago (2017-03-13 12:52:29 UTC) #8
danilchap
https://codereview.webrtc.org/2740163002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2740163002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode377 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:377: rtp_sender_->SetSendingMediaStatus(sending); add if (rtp_sender_) check to protect against receiver ...
3 years, 9 months ago (2017-03-16 15:08:43 UTC) #9
nisse-webrtc
https://codereview.webrtc.org/2740163002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2740163002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode377 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:377: rtp_sender_->SetSendingMediaStatus(sending); On 2017/03/16 15:08:42, danilchap wrote: > add if ...
3 years, 9 months ago (2017-03-16 15:14:08 UTC) #10
danilchap
looks scary, looks good https://codereview.webrtc.org/2740163002/diff/140001/webrtc/modules/rtp_rtcp/source/rtcp_sender.h File webrtc/modules/rtp_rtcp/source/rtcp_sender.h (right): https://codereview.webrtc.org/2740163002/diff/140001/webrtc/modules/rtp_rtcp/source/rtcp_sender.h#newcode100 webrtc/modules/rtp_rtcp/source/rtcp_sender.h:100: uint32_t SSRC() const; Ssrc() (no ...
3 years, 9 months ago (2017-03-16 15:41:13 UTC) #11
nisse-webrtc
https://codereview.webrtc.org/2740163002/diff/140001/webrtc/modules/rtp_rtcp/source/rtcp_sender.h File webrtc/modules/rtp_rtcp/source/rtcp_sender.h (right): https://codereview.webrtc.org/2740163002/diff/140001/webrtc/modules/rtp_rtcp/source/rtcp_sender.h#newcode100 webrtc/modules/rtp_rtcp/source/rtcp_sender.h:100: uint32_t SSRC() const; On 2017/03/16 15:41:12, danilchap wrote: > ...
3 years, 9 months ago (2017-03-17 09:29:45 UTC) #12
danilchap
lgtm https://codereview.webrtc.org/2740163002/diff/140001/webrtc/modules/rtp_rtcp/source/rtcp_sender.h File webrtc/modules/rtp_rtcp/source/rtcp_sender.h (right): https://codereview.webrtc.org/2740163002/diff/140001/webrtc/modules/rtp_rtcp/source/rtcp_sender.h#newcode100 webrtc/modules/rtp_rtcp/source/rtcp_sender.h:100: uint32_t SSRC() const; On 2017/03/17 09:29:44, nisse-webrtc wrote: ...
3 years, 9 months ago (2017-03-17 09:49:39 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2740163002/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2740163002/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode349 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:349: // this method for a receive-only stream, which makes ...
3 years, 9 months ago (2017-03-17 12:31:29 UTC) #16
nisse-webrtc
https://codereview.webrtc.org/2740163002/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2740163002/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode349 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:349: // this method for a receive-only stream, which makes ...
3 years, 9 months ago (2017-03-17 12:49:35 UTC) #19
danilchap
On 2017/03/17 12:31:29, stefan-webrtc wrote: > https://codereview.webrtc.org/2740163002/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc > File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): > > https://codereview.webrtc.org/2740163002/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode349 > ...
3 years, 9 months ago (2017-03-17 12:54:36 UTC) #20
stefan-webrtc
lgtm after offline discussion
3 years, 9 months ago (2017-03-20 08:08:51 UTC) #21
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/2740163002/200001
3 years, 9 months ago (2017-03-20 10:50:23 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 10:52:43 UTC) #32
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/external/webrtc/+/14adba77ecdf6b8ec604363c3...

Powered by Google App Engine
This is Rietveld 408576698