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

Issue 1571283002: Fixes a bug which incorrectly logs incoming RTCP as outgoing. (Closed)

Created:
4 years, 11 months ago by terelius
Modified:
4 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, Andrew MacDonald, zhengzhonghou_agora.io, henrika_webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, andresp, peah-webrtc, minyue-webrtc, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixes a bug which incorrectly logs incoming RTCP as outgoing. Adds logging to RTPSender and RTCPSender, pushing an event log pointer from Channel through ModuleRtpRtcpImpl to the Sender objects. BUG=webrtc:4741 Committed: https://crrev.com/429c345b0297d14211c3e14c907d4e5aac726590 Cr-Commit-Position: refs/heads/master@{#11336}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Added RTC_DISALLOW_IMPLICT_CONSTRUCTORS #

Total comments: 5

Patch Set 3 : Const pointers #

Patch Set 4 : Use new PacketDirection enum instead of bool to indicate direction #

Patch Set 5 : Cache packet length in RTPSender::SendToNetwork #

Patch Set 6 : Mock RtcEventLog and use in RTPSender unit test #

Patch Set 7 : Windows compile #

Patch Set 8 : Remove RTC_DISALLOW_IMPLICIT_CONSTRUCTORS from local class because of a MVS2013 bug #

Patch Set 9 : Use default action instead of WillOnce/WillRepeatedly. #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -59 lines) Patch
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
A webrtc/call/mock/mock_rtc_event_log.h View 1 2 3 4 5 1 chunk +61 lines, -0 lines 0 comments Download
M webrtc/call/rtc_event_log.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/call/rtc_event_log.cc View 1 2 3 5 chunks +8 lines, -8 lines 0 comments Download
M webrtc/call/rtc_event_log_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +11 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.h View 1 2 3 4 5 6 7 8 9 4 chunks +5 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 6 chunks +30 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 1 2 3 4 5 6 4 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 8 9 7 chunks +16 lines, -10 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 4 5 6 7 8 9 12 chunks +27 lines, -8 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 9 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
terelius
Åsa, could you review modules/rtp_rtcp/? Fredrik, could you review voice_engine/ and call/?
4 years, 11 months ago (2016-01-11 12:15:45 UTC) #3
pbos-webrtc
https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc#newcode681 webrtc/call/call.cc:681: event_log_->LogRtcpPacket(true, media_type, packet, length); Can we change this into ...
4 years, 11 months ago (2016-01-11 12:16:56 UTC) #5
terelius
https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc#newcode681 webrtc/call/call.cc:681: event_log_->LogRtcpPacket(true, media_type, packet, length); On 2016/01/11 12:16:56, pbos-webrtc wrote: ...
4 years, 11 months ago (2016-01-11 12:22:52 UTC) #6
the sun
https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc#newcode681 webrtc/call/call.cc:681: event_log_->LogRtcpPacket(true, media_type, packet, length); On 2016/01/11 12:16:56, pbos-webrtc wrote: ...
4 years, 11 months ago (2016-01-11 12:36:16 UTC) #7
terelius
https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc#newcode681 webrtc/call/call.cc:681: event_log_->LogRtcpPacket(true, media_type, packet, length); On 2016/01/11 12:36:16, the sun ...
4 years, 11 months ago (2016-01-11 13:07:20 UTC) #8
stefan-webrtc
https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode28 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:28: namespace rtcp { Empty line above. https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode77 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:77: RtcEventLog* ...
4 years, 11 months ago (2016-01-11 13:12:59 UTC) #10
terelius
https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode77 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:77: RtcEventLog* event_log; On 2016/01/11 13:12:59, stefan-webrtc (holmer) wrote: > ...
4 years, 11 months ago (2016-01-11 13:22:12 UTC) #11
the sun
https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode77 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:77: RtcEventLog* event_log; On 2016/01/11 13:22:11, terelius wrote: > On ...
4 years, 11 months ago (2016-01-11 13:40:22 UTC) #12
terelius
https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode28 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:28: namespace rtcp { On 2016/01/11 13:12:59, stefan-webrtc (holmer) wrote: ...
4 years, 11 months ago (2016-01-11 15:04:04 UTC) #13
the sun
https://codereview.webrtc.org/1571283002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode80 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:80: RTC_DISALLOW_COPY_AND_ASSIGN(Configuration); This is a POD, right? Unless it owns ...
4 years, 11 months ago (2016-01-11 15:59:57 UTC) #14
terelius
https://codereview.webrtc.org/1571283002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode80 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:80: RTC_DISALLOW_COPY_AND_ASSIGN(Configuration); On 2016/01/11 15:59:57, the sun wrote: > This ...
4 years, 11 months ago (2016-01-11 18:39:47 UTC) #15
the sun
lgtm https://codereview.webrtc.org/1571283002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/1571283002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode80 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:80: RTC_DISALLOW_COPY_AND_ASSIGN(Configuration); On 2016/01/11 18:39:47, terelius wrote: > On ...
4 years, 11 months ago (2016-01-12 12:05:21 UTC) #16
terelius
https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1571283002/diff/1/webrtc/call/call.cc#newcode681 webrtc/call/call.cc:681: event_log_->LogRtcpPacket(true, media_type, packet, length); On 2016/01/11 13:07:20, terelius wrote: ...
4 years, 11 months ago (2016-01-13 17:08:18 UTC) #17
terelius
I don't have any further commits pending for this CL. @pbos: Do you want to ...
4 years, 11 months ago (2016-01-14 15:58:55 UTC) #18
pbos-webrtc
On 2016/01/14 15:58:55, terelius wrote: > I don't have any further commits pending for this ...
4 years, 11 months ago (2016-01-14 16:05:04 UTC) #19
stefan-webrtc
On 2016/01/14 16:05:04, pbos-webrtc wrote: > On 2016/01/14 15:58:55, terelius wrote: > > I don't ...
4 years, 11 months ago (2016-01-18 15:43:49 UTC) #21
åsapersson
lgtm
4 years, 11 months ago (2016-01-19 16:04:15 UTC) #22
ivoc
After our offline discussion yesterday: lgtm.
4 years, 11 months ago (2016-01-19 16:31:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1571283002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1571283002/180001
4 years, 11 months ago (2016-01-21 12:58:36 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2994)
4 years, 11 months ago (2016-01-21 13:02:45 UTC) #28
stefan-webrtc
lgtm
4 years, 11 months ago (2016-01-21 13:29:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1571283002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1571283002/180001
4 years, 11 months ago (2016-01-21 13:30:57 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 11 months ago (2016-01-21 13:42:08 UTC) #34
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 13:42:16 UTC) #36
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/429c345b0297d14211c3e14c907d4e5aac726590
Cr-Commit-Position: refs/heads/master@{#11336}

Powered by Google App Engine
This is Rietveld 408576698