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

Issue 2895083002: Add FlexfecReceiver unit test for infinite recovery loop. (Closed)

Created:
3 years, 7 months ago by brandtr
Modified:
3 years, 7 months ago
Reviewers:
nisse-webrtc, danilchap
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman, nisse-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add FlexfecReceiver unit test for infinite recovery loop. This CL adds unit tests to the FlexfecReceiver, verifying that the infinite recovery loop described in https://codereview.webrtc.org/2867943003/ is tested for. BUG=webrtc:5654 Review-Url: https://codereview.webrtc.org/2895083002 Cr-Commit-Position: refs/heads/master@{#18240} Committed: https://chromium.googlesource.com/external/webrtc/+/f27c5b8d6eed929eae066c417856eb379779f0c0

Patch Set 1 #

Total comments: 7

Patch Set 2 : nisse comments 1. #

Total comments: 6

Patch Set 3 : danilchap comments 1. #

Patch Set 4 : Revert "danilchap comments 1." #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -2 lines) Patch
M webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc View 1 3 2 chunks +75 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
brandtr
Please take a look :)
3 years, 7 months ago (2017-05-22 07:21:33 UTC) #2
nisse-webrtc
https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode523 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:523: // No extra callback, and thus no infinite loop. ...
3 years, 7 months ago (2017-05-22 08:39:20 UTC) #4
brandtr
https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode523 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:523: // No extra callback, and thus no infinite loop. ...
3 years, 7 months ago (2017-05-22 09:10:09 UTC) #5
danilchap
https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode523 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:523: // No extra callback, and thus no infinite loop. ...
3 years, 7 months ago (2017-05-22 09:17:29 UTC) #6
danilchap
https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode523 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:523: // No extra callback, and thus no infinite loop. ...
3 years, 7 months ago (2017-05-22 09:18:22 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode487 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:487: void OnRecoveredPacket(const uint8_t* packet, size_t length) { Can you ...
3 years, 7 months ago (2017-05-22 10:39:05 UTC) #8
brandtr
https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode487 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:487: void OnRecoveredPacket(const uint8_t* packet, size_t length) { On 2017/05/22 ...
3 years, 7 months ago (2017-05-22 11:52:39 UTC) #9
brandtr
On 2017/05/22 11:52:39, brandtr wrote: > https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc > File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): > > https://codereview.webrtc.org/2895083002/diff/1/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode487 > ...
3 years, 7 months ago (2017-05-23 12:28:08 UTC) #10
danilchap
lgtm if lg to nisse https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode313 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:313: media_it++; nit: ++media_it; https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode498 ...
3 years, 7 months ago (2017-05-23 13:07:15 UTC) #11
brandtr
https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode313 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:313: media_it++; On 2017/05/23 13:07:15, danilchap wrote: > nit: ++media_it; ...
3 years, 7 months ago (2017-05-23 13:19:17 UTC) #12
nisse-webrtc
lgtm, if you either undo the use of ASSERT in OnRecoveredPacket, or add a comment ...
3 years, 7 months ago (2017-05-23 14:05:25 UTC) #13
brandtr
https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode498 webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc:498: if (recursion_depth_ > kMaxRecursionDepth) { On 2017/05/23 14:05:25, nisse-webrtc ...
3 years, 7 months ago (2017-05-23 15:02:47 UTC) #14
danilchap
On 2017/05/23 15:02:47, brandtr wrote: > https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc > File webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc (right): > > https://codereview.webrtc.org/2895083002/diff/20001/webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc#newcode498 > ...
3 years, 7 months ago (2017-05-23 15:14:23 UTC) #17
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/2895083002/60001
3 years, 7 months ago (2017-05-23 15:17:19 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 15:38:48 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/f27c5b8d6eed929eae066c417...

Powered by Google App Engine
This is Rietveld 408576698