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

Issue 2156063004: Always take retransmissions into account when deciding pacing order (Closed)

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

Description

Always take retransmissions into account when deciding pacing order Retransmissions are supposed to be sent before normal packets by the pacer, but the current implementation will only use it if the second packet is a retransmission and the first packet is not. It misses the case where the first packet is retransmission and the second packet is not. This CL fixes the comparator and adds a unit test. Also changed the SendAndExpectPacket function to propagate the retransmission flag to the expectations. Previously, all packets were expected to be normal packets. BUG=webrtc:6124 Committed: https://crrev.com/f39f7d931c11045fe0ba842e4eba9b816f0288ca Cr-Commit-Position: refs/heads/master@{#13502}

Patch Set 1 #

Patch Set 2 : Add unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -3 lines) Patch
M webrtc/modules/pacing/paced_sender.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/pacing/paced_sender_unittest.cc View 1 2 chunks +55 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
terelius
Please take a look
4 years, 5 months ago (2016-07-18 16:20:26 UTC) #2
pbos-webrtc
add a test that catches this please :)
4 years, 5 months ago (2016-07-18 16:22:44 UTC) #3
terelius
Please review the unit test carefully to verify that the behavior enforced by the test ...
4 years, 5 months ago (2016-07-19 12:50:14 UTC) #5
stefan-webrtc
Good catch! lgtm
4 years, 5 months ago (2016-07-20 08:31:20 UTC) #6
pbos-webrtc
lgtm
4 years, 5 months ago (2016-07-20 08:59:06 UTC) #7
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/2156063004/20001
4 years, 5 months ago (2016-07-20 09:13:53 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-20 10:36:25 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 10:36:37 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f39f7d931c11045fe0ba842e4eba9b816f0288ca
Cr-Commit-Position: refs/heads/master@{#13502}

Powered by Google App Engine
This is Rietveld 408576698