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

Issue 1327933003: Enable probing with repeated payload packets by default. (Closed)

Created:
5 years, 3 months ago by stefan-webrtc
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), tterriberry_mozilla.com, perkj_webrtc, andresp
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Enable probing with repeated payload packets by default. To make this possible padding only packets will have the same timestamp as the previously sent media packet, as long as RTX is not enabled. This has the side effect that if we send only padding for a long time without sending media, a receive-side jitter buffer could potentially overflow. In practice this shouldn't be an issue, partly because RTX is recommended and used by default, but also because padding typically is terminated before being received by a client. It is also not an issue for bandwidth estimation as long as abs-send-time is used instead of toffset. BUG=chromium:425925 R=mflodman@webrtc.org, sprang@webrtc.org, tommi@webrtc.org Committed: https://crrev.com/586b19bdb615dde34cdcf107272d8857fe2f5631 Cr-Commit-Position: refs/heads/master@{#9984}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Fixed tests. #

Patch Set 4 : Fix additional tests. #

Total comments: 15

Patch Set 5 : Comments addressed. #

Patch Set 6 : Fixes a race with padding timestamps, and a flake in the nack test. #

Total comments: 3

Patch Set 7 : Remove change in JB which shouldn't have been there. #

Total comments: 2

Patch Set 8 : Comment addressed. #

Patch Set 9 : Changed threshold slightly to prevent a rare flake. #

Patch Set 10 : Allow for padding in packet count expectations. #

Patch Set 11 : Fixing yet another flake in libjingle tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -124 lines) Patch
M talk/media/base/fakenetworkinterface.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -14 lines 0 comments Download
M talk/media/base/videoengine_unittest.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +29 lines, -13 lines 0 comments Download
M webrtc/modules/pacing/include/paced_sender.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 3 4 5 2 chunks +4 lines, -6 lines 0 comments Download
M webrtc/modules/pacing/paced_sender_unittest.cc View 2 chunks +2 lines, -19 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 8 5 chunks +34 lines, -38 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 7 chunks +17 lines, -5 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +24 lines, -17 lines 0 comments Download

Messages

Total messages: 54 (21 generated)
stefan-webrtc
5 years, 3 months ago (2015-09-03 10:50:17 UTC) #2
stefan-webrtc
5 years, 3 months ago (2015-09-03 10:52:32 UTC) #4
sprang_webrtc
lgtm
5 years, 3 months ago (2015-09-03 12:13:55 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/60001
5 years, 3 months ago (2015-09-08 12:13:18 UTC) #7
mflodman
https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h File talk/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h#newcode1053 talk/media/base/videoengine_unittest.h:1053: EXPECT_GT(NumRtpPackets(), 0); Why this change? https://codereview.webrtc.org/1327933003/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): ...
5 years, 3 months ago (2015-09-08 12:33:51 UTC) #8
stefan-webrtc
https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h File talk/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h#newcode1053 talk/media/base/videoengine_unittest.h:1053: EXPECT_GT(NumRtpPackets(), 0); On 2015/09/08 12:33:50, mflodman wrote: > Why ...
5 years, 3 months ago (2015-09-08 13:17:35 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/80001
5 years, 3 months ago (2015-09-08 13:23:34 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win/builds/9578)
5 years, 3 months ago (2015-09-08 13:46:53 UTC) #13
mflodman
https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h File talk/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h#newcode1053 talk/media/base/videoengine_unittest.h:1053: EXPECT_GT(NumRtpPackets(), 0); On 2015/09/08 13:17:34, stefan-webrtc (holmer) wrote: > ...
5 years, 3 months ago (2015-09-08 18:32:03 UTC) #14
stefan-webrtc
https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h File talk/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h#newcode1053 talk/media/base/videoengine_unittest.h:1053: EXPECT_GT(NumRtpPackets(), 0); On 2015/09/08 18:32:03, mflodman wrote: > On ...
5 years, 3 months ago (2015-09-09 09:20:53 UTC) #15
stefan-webrtc
https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h File talk/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h#newcode1053 talk/media/base/videoengine_unittest.h:1053: EXPECT_GT(NumRtpPackets(), 0); On 2015/09/09 09:20:53, stefan-webrtc (holmer) wrote: > ...
5 years, 3 months ago (2015-09-09 09:23:00 UTC) #16
mflodman
On 2015/09/09 09:23:00, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h > File talk/media/base/videoengine_unittest.h (right): > > https://codereview.webrtc.org/1327933003/diff/60001/talk/media/base/videoengine_unittest.h#newcode1053 ...
5 years, 3 months ago (2015-09-09 10:14:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/80001
5 years, 3 months ago (2015-09-09 11:46:09 UTC) #20
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/700)
5 years, 3 months ago (2015-09-09 11:48:22 UTC) #22
stefan-webrtc
+tommi for talk/media/base.
5 years, 3 months ago (2015-09-09 12:28:49 UTC) #24
tommi
rs lgtm
5 years, 3 months ago (2015-09-09 13:04:15 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/100001
5 years, 3 months ago (2015-09-10 11:35:49 UTC) #27
stefan-webrtc
Magnus, could you take another look at the latest patch-set? It solves some issues I ...
5 years, 3 months ago (2015-09-10 11:36:23 UTC) #28
stefan-webrtc
https://codereview.webrtc.org/1327933003/diff/100001/webrtc/modules/pacing/paced_sender.cc File webrtc/modules/pacing/paced_sender.cc (right): https://codereview.webrtc.org/1327933003/diff/100001/webrtc/modules/pacing/paced_sender.cc#newcode364 webrtc/modules/pacing/paced_sender.cc:364: if (!packets_->Empty()) No point in sending padding if we ...
5 years, 3 months ago (2015-09-10 11:40:33 UTC) #29
mflodman
One comment, then LGTM. https://codereview.webrtc.org/1327933003/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/1327933003/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode614 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:614: if (rtx_ != kRtxOff && ...
5 years, 3 months ago (2015-09-15 11:48:51 UTC) #30
stefan-webrtc
https://codereview.webrtc.org/1327933003/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/1327933003/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode614 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:614: if (rtx_ != kRtxOff && last_timestamp_time_ms_ > 0) { ...
5 years, 3 months ago (2015-09-15 12:01:58 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/140001
5 years, 3 months ago (2015-09-15 12:02:48 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/9529)
5 years, 3 months ago (2015-09-15 12:14:44 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/160001
5 years, 3 months ago (2015-09-15 12:48:36 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/6720)
5 years, 3 months ago (2015-09-15 14:17:51 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/200001
5 years, 3 months ago (2015-09-16 15:42:09 UTC) #43
stefan-webrtc
I keep hitting flakes in libjingle. I hope this was the final one. Could you ...
5 years, 3 months ago (2015-09-16 15:42:40 UTC) #44
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
5 years, 3 months ago (2015-09-16 17:42:20 UTC) #46
mflodman
still lgtm
5 years, 3 months ago (2015-09-18 08:30:15 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327933003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327933003/200001
5 years, 3 months ago (2015-09-18 08:30:45 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android/builds/7795)
5 years, 3 months ago (2015-09-18 08:53:31 UTC) #52
stefan-webrtc
Committed patchset #11 (id:200001) manually as 586b19bdb615dde34cdcf107272d8857fe2f5631 (presubmit successful).
5 years, 3 months ago (2015-09-18 09:14:48 UTC) #53
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 09:14:50 UTC) #54
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/586b19bdb615dde34cdcf107272d8857fe2f5631
Cr-Commit-Position: refs/heads/master@{#9984}

Powered by Google App Engine
This is Rietveld 408576698