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

Issue 2918333002: Reland of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. (Closed)

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

Description

Reland of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. (patchset #1 id:1 of https://codereview.webrtc.org/2919313005/ ) Reason for revert: Fix RtpStreamReceiver to not recover RTX packets with incorrect SSRC. Original issue's description: > Revert of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. (patchset #5 id:120001 of https://codereview.webrtc.org/2893293003/ ) > > Reason for revert: > Breaks fuzzer. > > Original issue's description: > > Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. > > > > Prior to this CL, the ForwardErrorCorrection state would be reset whenever > > the difference in sequence numbers of the last recovered media packet > > and the new packet (media or FEC) was too large. This comparison did not > > take into account that FlexFEC uses a different SSRC for the FEC packets, > > meaning that the the state would be reset very frequently when FlexFEC > > is used. This should not have led to any major problems, except for a > > decreased decoding efficiency. > > > > This CL verifies that whenever we compare sequence numbers in > > ForwardErrorCorrection, they do indeed belong to the same SSRC. > > > > BUG=webrtc:5654 > > > > Review-Url: https://codereview.webrtc.org/2893293003 > > Cr-Commit-Position: refs/heads/master@{#18399} > > Committed: https://chromium.googlesource.com/external/webrtc/+/1476a9d789db03457595cf7dbea7e362972f2a4d > > TBR=stefan@webrtc.org,holmer@google.com > # Not skipping CQ checks because original CL landed more than 1 days ago. > BUG=webrtc:5654 > > Review-Url: https://codereview.webrtc.org/2919313005 > Cr-Commit-Position: refs/heads/master@{#18446} > Committed: https://chromium.googlesource.com/external/webrtc/+/92732ecc5ccc81e17c1dea75ecc5e34c7ff6274f R=stefan@webrtc.org BUG=webrtc:5654 Review-Url: https://codereview.webrtc.org/2918333002 Cr-Commit-Position: refs/heads/master@{#18827} Committed: https://chromium.googlesource.com/external/webrtc/+/d726a3f48745a01a74509022bd2e2f6a7e548ea7

Patch Set 1 : Original CL #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Let ForwardErrorCorrection be aware of its SSRCs. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -139 lines) Patch
M webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/fec_test_helper.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/fec_test_helper.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_sender.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/forward_error_correction.h View 1 2 3 7 chunks +18 lines, -12 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/forward_error_correction.cc View 1 2 3 10 chunks +82 lines, -34 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc View 1 2 3 7 chunks +96 lines, -60 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_generator.cc View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc View 1 2 3 4 chunks +16 lines, -5 lines 4 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_receiver_unittest.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc View 1 2 3 7 chunks +39 lines, -13 lines 0 comments Download
M webrtc/video/rtp_video_stream_receiver.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 49 (36 generated)
brandtr
Created Reland of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection.
3 years, 6 months ago (2017-06-05 14:27:41 UTC) #1
brandtr
Rebase.
3 years, 6 months ago (2017-06-09 11:53:11 UTC) #10
stefan-webrtc
lgtm
3 years, 6 months ago (2017-06-16 13:48:35 UTC) #17
brandtr
Rebase.
3 years, 6 months ago (2017-06-20 11:39:25 UTC) #18
brandtr
Added SSRC knowledge to the erasure code; please take another look. This should be refactored ...
3 years, 6 months ago (2017-06-22 14:28:36 UTC) #31
holmer
lgtm https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc (right): https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc#newcode79 webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc:79: LOG(LS_INFO) Should this be a warning?
3 years, 5 months ago (2017-06-28 13:53:06 UTC) #35
brandtr_google
https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc (right): https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc#newcode79 webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc:79: LOG(LS_INFO) On 2017/06/28 13:53:06, holmer wrote: > Should this ...
3 years, 5 months ago (2017-06-28 14:01:56 UTC) #37
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/2918333002/350001
3 years, 5 months ago (2017-06-29 08:58:59 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan/builds/13464)
3 years, 5 months ago (2017-06-29 09:07:42 UTC) #42
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/2918333002/350001
3 years, 5 months ago (2017-06-29 09:32:02 UTC) #44
commit-bot: I haz the power
Committed patchset #4 (id:350001) as https://chromium.googlesource.com/external/webrtc/+/d726a3f48745a01a74509022bd2e2f6a7e548ea7
3 years, 5 months ago (2017-06-29 09:45:44 UTC) #47
holmer
https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc (right): https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc#newcode79 webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc:79: LOG(LS_INFO) On 2017/06/28 14:01:56, brandtr_google wrote: > On 2017/06/28 ...
3 years, 5 months ago (2017-06-29 10:50:12 UTC) #48
brandtr
3 years, 5 months ago (2017-06-30 08:24:40 UTC) #49
Message was sent while issue was closed.
https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/...
File webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc (right):

https://codereview.webrtc.org/2918333002/diff/350001/webrtc/modules/rtp_rtcp/...
webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc:79: LOG(LS_INFO)
On 2017/06/29 10:50:11, holmer wrote:
> On 2017/06/28 14:01:56, brandtr_google wrote:
> > On 2017/06/28 13:53:06, holmer wrote:
> > > Should this be a warning?
> > 
> > I was thinking that could be a bit spammy. If we receive one of these
packets,
> > we might receive several.
> 
> But we don't expect to ever do that, right? I'd want to know if my sender
sends
> broken packets.
> 
> You could throttle them if you are worried about frequency.

Right, this should never happen. Updating the logging severity in
https://codereview.webrtc.org/2965533003/.

Powered by Google App Engine
This is Rietveld 408576698