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

Issue 2101253002: Unit test for media packet reordering in ForwardErrorCorrection. (Closed)

Created:
4 years, 5 months ago by brandtr
Modified:
4 years, 4 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@flexfec-pt1c_renames-and-fixes
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Unit test for media packet reordering in ForwardErrorCorrection. This CL expands the test coverage by checking that the FEC can handle reordered received media packets. Specifically, this checks that |recovered_packets| is kept in sorted order. BUG=webrtc:5654 Committed: https://crrev.com/d90fa0be29251e6f5db40613458926c40a5ba12c Cr-Commit-Position: refs/heads/master@{#13693}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase on "1c". #

Total comments: 10

Patch Set 4 : Response to feedback. #

Total comments: 4

Patch Set 5 : Rebase on top of master. #

Patch Set 6 : Loss masks are parameters to NetworkReceivedPackets. fec_ is not dynamically allocated. #

Total comments: 10

Patch Set 7 : Response to feedback. #

Total comments: 2

Patch Set 8 : git cl format. #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -218 lines) Patch
M webrtc/modules/rtp_rtcp/source/forward_error_correction.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc View 1 2 3 4 5 6 7 8 39 chunks +229 lines, -218 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
brandtr
4 years, 5 months ago (2016-06-29 06:35:36 UTC) #2
danilchap
https://codereview.webrtc.org/2101253002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc (right): https://codereview.webrtc.org/2101253002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc#newcode286 webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc:286: const int kNumImportantPackets = 0; might want change to ...
4 years, 5 months ago (2016-07-01 18:55:08 UTC) #4
brandtr
Thanks for quick feedback! https://codereview.webrtc.org/2101253002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc (right): https://codereview.webrtc.org/2101253002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc#newcode286 webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc:286: const int kNumImportantPackets = 0; ...
4 years, 5 months ago (2016-07-04 13:56:07 UTC) #5
danilchap
New test lgtm. More style cleanups better do in separate CL.
4 years, 5 months ago (2016-07-04 14:24:27 UTC) #6
stefan-webrtc
https://codereview.webrtc.org/2101253002/diff/60001/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc File webrtc/modules/rtp_rtcp/source/forward_error_correction.cc (right): https://codereview.webrtc.org/2101253002/diff/60001/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc#newcode541 webrtc/modules/rtp_rtcp/source/forward_error_correction.cc:541: received_fec_packets_.sort(SortablePacket::LessThan()); Btw, what do you think of simply finding ...
4 years, 5 months ago (2016-07-05 17:26:49 UTC) #7
brandtr
Rebased on top of master, to reduce unnecessary dependencies between semi-unrelated CLs. Addressed comments. https://codereview.webrtc.org/2101253002/diff/60001/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc ...
4 years, 5 months ago (2016-07-07 14:59:13 UTC) #8
danilchap
https://codereview.webrtc.org/2101253002/diff/100001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc (right): https://codereview.webrtc.org/2101253002/diff/100001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc#newcode48 webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc:48: fec_(), initialization of members with default constructor might be ...
4 years, 5 months ago (2016-07-19 13:47:27 UTC) #9
stefan-webrtc
lgtm with nits fixed and once danil is happy. https://codereview.webrtc.org/2101253002/diff/100001/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc File webrtc/modules/rtp_rtcp/source/forward_error_correction.cc (right): https://codereview.webrtc.org/2101253002/diff/100001/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc#newcode551 webrtc/modules/rtp_rtcp/source/forward_error_correction.cc:551: ...
4 years, 5 months ago (2016-07-20 09:33:30 UTC) #10
brandtr
Thanks for the feedback; comments have been addressed. Android and libfuzzer failures should be independent ...
4 years, 5 months ago (2016-07-21 09:04:34 UTC) #11
danilchap
lgtm % nit https://codereview.webrtc.org/2101253002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc (right): https://codereview.webrtc.org/2101253002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc#newcode158 webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc:158: &recovered_packet_list_)); realign (or just call 'git ...
4 years, 5 months ago (2016-07-22 12:38:21 UTC) #12
brandtr
https://codereview.webrtc.org/2101253002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc (right): https://codereview.webrtc.org/2101253002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc#newcode158 webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc:158: &recovered_packet_list_)); On 2016/07/22 12:38:21, danilchap wrote: > realign (or ...
4 years, 5 months ago (2016-07-22 12:58:27 UTC) #13
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/2101253002/140001
4 years, 4 months ago (2016-08-09 11:07:40 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios64_gn_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_gn_dbg/builds/1677) ios64_gn_rel on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 4 months ago (2016-08-09 11:08:31 UTC) #18
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/2101253002/160001
4 years, 4 months ago (2016-08-09 12:30:46 UTC) #21
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-09 13:57:17 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 13:57:27 UTC) #25
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d90fa0be29251e6f5db40613458926c40a5ba12c
Cr-Commit-Position: refs/heads/master@{#13693}

Powered by Google App Engine
This is Rietveld 408576698