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

Issue 1826093004: Avoid rescheduling the next RTCP packet if the RTCP sender status doesn't change. (Closed)

Created:
4 years, 9 months ago by skvlad
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, danilchap, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Avoid rescheduling the next RTCP packet if the RTCP sender status doesn't change. The change made in https://codereview.webrtc.org/1757683002 introduced an extra call to RTCPSender::SetRTCPStatus after the video receive stream is created. The SetRTCPStatus call results in no state change, as the RTCP sender is already enabled, however, it reschedules the next RTCP packet to be RTCP_INTERVAL_VIDEO_MS/2 (500) ms in the future. Before the change, the next packet time was only set by the previous call to RTCPSender::SetSSRC, which placed it 100 ms in the future. The change, therefore, changed the timing of multiple performance tests - as it now takes a different length of time to ramp up to the same bandwidth. BUG=chromium:597332 Committed: https://crrev.com/1c392cc5cf83630eaaa0401954b66149c1760ebc Cr-Commit-Position: refs/heads/master@{#12203}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Removed the extra parenthesis #

Patch Set 3 : Rewrote the condition to make it easier to read #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtcp_sender.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
skvlad
Please take a look. This change fixes performance bugs https://bugs.chromium.org/p/chromium/issues/detail?id=597332 and https://bugs.chromium.org/p/chromium/issues/detail?id=597714, which happened because ...
4 years, 9 months ago (2016-03-24 21:12:45 UTC) #2
pthatcher1
https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode220 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:220: } Might be more clear as: if (method == ...
4 years, 9 months ago (2016-03-25 23:03:41 UTC) #3
pthatcher1
lgtm The previous comment was not important enough to block submitting.
4 years, 9 months ago (2016-03-25 23:04:20 UTC) #4
pbos-webrtc
lgtm https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode210 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:210: bool was_off = (method_ == RtcpMode::kOff); remove ()s
4 years, 8 months ago (2016-03-29 17:48:46 UTC) #5
skvlad
https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode210 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:210: bool was_off = (method_ == RtcpMode::kOff); On 2016/03/29 17:48:46, ...
4 years, 8 months ago (2016-03-29 18:09:25 UTC) #7
pthatcher
https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode220 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:220: } On 2016/03/29 18:09:25, skvlad wrote: > On 2016/03/25 ...
4 years, 8 months ago (2016-03-29 18:53:09 UTC) #9
skvlad
https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1826093004/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode220 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:220: } On 2016/03/29 18:53:09, pthatcher wrote: > On 2016/03/29 ...
4 years, 8 months ago (2016-03-29 19:51:32 UTC) #10
pthatcher1
lgtm
4 years, 8 months ago (2016-03-29 21:58:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826093004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826093004/60001
4 years, 8 months ago (2016-03-30 18:22:26 UTC) #14
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/4488)
4 years, 8 months ago (2016-03-30 18:25:20 UTC) #16
skvlad
Adding more owners for rtcp_sender.cc. Please take a look, it's a very small change.
4 years, 8 months ago (2016-03-30 18:30:31 UTC) #18
skvlad
On 2016/03/30 18:30:31, skvlad wrote: > Adding more owners for rtcp_sender.cc. Please take a look, ...
4 years, 8 months ago (2016-03-31 19:57:18 UTC) #19
åsapersson
lgtm
4 years, 8 months ago (2016-04-01 09:33:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826093004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826093004/60001
4 years, 8 months ago (2016-04-01 17:29:49 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-01 19:30:14 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826093004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826093004/60001
4 years, 8 months ago (2016-04-01 21:40:07 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-01 21:46:50 UTC) #27
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 21:47:04 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1c392cc5cf83630eaaa0401954b66149c1760ebc
Cr-Commit-Position: refs/heads/master@{#12203}

Powered by Google App Engine
This is Rietveld 408576698