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 2269903002: Add FlexFEC header formatters. (pt. 5) (Closed)

Created:
4 years, 4 months ago by brandtr
Modified:
4 years, 2 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@header_reader_writer-pt4-generalize_header_formatting
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add FlexFEC header formatters. Add classes that can read and finalize FlexFEC headers. BUG=webrtc:5654 Committed: https://crrev.com/0496de298e38f8689ecefef27c31a3433bf3d073 Cr-Commit-Position: refs/heads/master@{#14469}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase fixes. #

Patch Set 4 : Rebase. #

Patch Set 5 : New upload for dependent patchset. #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase + fixes. #

Patch Set 8 : Rebase + fixes. #

Patch Set 9 : Fixed missing constant. #

Patch Set 10 : Rebase + fixes. #

Patch Set 11 : Rebase + changes. #

Patch Set 12 : Rebase fixes. #

Patch Set 13 : Rebase on top of 'Reorder member functions in RtpFecTest.' #

Patch Set 14 : Rebase + add unit test. #

Patch Set 15 : Rename ssrc_base to ssrc. #

Patch Set 16 : Update based on feedback comments in pt. 4. #

Patch Set 17 : Rebase to fix red bots. #

Patch Set 18 : Rebase + updates. #

Patch Set 19 : Rebase. #

Patch Set 20 : Rebase. #

Patch Set 21 : Changes. #

Patch Set 22 : Changes. #

Total comments: 25

Patch Set 23 : Rebase. #

Patch Set 24 : Review response 1. #

Total comments: 16

Patch Set 25 : Make MSVS happy + 'git cl format'. #

Patch Set 26 : Review response 2. #

Patch Set 27 : Failing tests for reads out-of-bounds. #

Patch Set 28 : Corresponding fixes. #

Total comments: 15

Patch Set 29 : Rebase. #

Patch Set 30 : Review response 3. #

Total comments: 2

Patch Set 31 : Unit tests of "simple" headers, and slight renaming. #

Patch Set 32 : Move tests so all FlexfecReaderTests are in line. #

Total comments: 30

Patch Set 33 : Review response 4 and rebase of ULPFEC unit tests. #

Patch Set 34 : Rebase after gyp deprecation. #

Patch Set 35 : Review response 4 (some more things). #

Patch Set 36 : Rebase. #

Total comments: 34

Patch Set 37 : Review response 5. #

Total comments: 15

Patch Set 38 : Rebase. #

Patch Set 39 : Missed one comment. #

Patch Set 40 : Review response 6. #

Patch Set 41 : Changes based on comments from earlier patch set. #

Total comments: 26

Patch Set 42 : Rebase. #

Patch Set 43 : Review response 7. #

Total comments: 1

Patch Set 44 : Change gmock/gtest paths. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1045 lines, -20 lines) Patch
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/rtp_rtcp.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +86 lines, -0 lines 0 comments Download
A webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +311 lines, -0 lines 0 comments Download
A webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +559 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/forward_error_correction.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/forward_error_correction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 5 chunks +16 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 6 chunks +56 lines, -9 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 5 chunks +5 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 80 (29 generated)
brandtr
Split up previous large CL in five semi-indenpendent ones.
4 years, 4 months ago (2016-08-23 08:19:33 UTC) #3
brandtr
Rebase + fixes.
4 years, 3 months ago (2016-08-25 12:38:42 UTC) #4
brandtr
Fixed missing constant.
4 years, 3 months ago (2016-08-25 13:15:23 UTC) #5
brandtr
Rebase + fixes.
4 years, 3 months ago (2016-08-25 13:20:53 UTC) #6
brandtr
Rebase + changes.
4 years, 3 months ago (2016-08-26 11:21:08 UTC) #7
brandtr
Rebase + fiexes.
4 years, 3 months ago (2016-08-30 07:05:28 UTC) #8
brandtr
Rebase + fiexes.
4 years, 3 months ago (2016-08-30 07:07:21 UTC) #10
brandtr
Rebase on top of 'Reorder member functions in RtpFecTest.'
4 years, 3 months ago (2016-08-30 08:34:03 UTC) #12
brandtr
Rebase + add unit test.
4 years, 3 months ago (2016-08-30 09:19:36 UTC) #13
brandtr
Rename ssrc_base to ssrc.
4 years, 3 months ago (2016-08-30 09:27:24 UTC) #14
brandtr
Update based on feedback comments in pt. 4.
4 years, 3 months ago (2016-08-30 13:32:17 UTC) #15
brandtr
Rebase
4 years, 3 months ago (2016-08-30 14:28:26 UTC) #17
brandtr
Rebase + updates.
4 years, 3 months ago (2016-09-01 11:56:38 UTC) #18
brandtr
Rebase + updates.
4 years, 3 months ago (2016-09-01 13:55:41 UTC) #20
brandtr
Rebase.
4 years, 3 months ago (2016-09-02 07:24:53 UTC) #21
brandtr
Rebase.
4 years, 3 months ago (2016-09-02 08:27:39 UTC) #22
brandtr
Changes.
4 years, 3 months ago (2016-09-02 11:08:01 UTC) #23
brandtr
Changes.
4 years, 3 months ago (2016-09-02 11:52:38 UTC) #24
danilchap
https://codereview.webrtc.org/2269903002/diff/490001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/490001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode37 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:37: constexpr size_t kBaseHeaderSize = 12; that doesn't include first ...
4 years, 3 months ago (2016-09-06 09:40:54 UTC) #25
brandtr
Rebase.
4 years, 3 months ago (2016-09-06 14:36:08 UTC) #26
brandtr
https://codereview.webrtc.org/2269903002/diff/490001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/490001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode37 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:37: constexpr size_t kBaseHeaderSize = 12; On 2016/09/06 09:40:53, danilchap ...
4 years, 3 months ago (2016-09-07 08:21:14 UTC) #28
danilchap
https://codereview.webrtc.org/2269903002/diff/490001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/490001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode72 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:72: bool f_bit = (fec_packet->pkt->data[0] & 0x80) != 0u; On ...
4 years, 3 months ago (2016-09-07 12:41:17 UTC) #29
brandtr
Comments adressed. Also added some bounds checking in the header reading. https://codereview.webrtc.org/2269903002/diff/550001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): ...
4 years, 3 months ago (2016-09-12 11:31:21 UTC) #32
danilchap
https://codereview.webrtc.org/2269903002/diff/670001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/670001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode84 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:84: // Not enough space for the packet mask. may ...
4 years, 3 months ago (2016-09-12 13:30:30 UTC) #33
brandtr
Rebase.
4 years, 3 months ago (2016-09-13 11:39:24 UTC) #34
brandtr
Rebase.
4 years, 3 months ago (2016-09-13 12:04:04 UTC) #35
brandtr
https://codereview.webrtc.org/2269903002/diff/670001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/670001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode84 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:84: // Not enough space for the packet mask. On ...
4 years, 3 months ago (2016-09-14 11:45:55 UTC) #39
danilchap
https://codereview.webrtc.org/2269903002/diff/670001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc (right): https://codereview.webrtc.org/2269903002/diff/670001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc#newcode293 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc:293: read_packet0->pkt = rtc::scoped_refptr<Packet>(new Packet()); On 2016/09/14 11:45:54, brandtr wrote: ...
4 years, 3 months ago (2016-09-14 13:12:10 UTC) #40
brandtr
Rebase after gyp deprecation.
4 years, 3 months ago (2016-09-20 09:31:48 UTC) #42
brandtr
Rebase.
4 years, 3 months ago (2016-09-20 11:07:51 UTC) #44
brandtr
Addressed comments from danilchap. https://codereview.webrtc.org/2269903002/diff/810001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/810001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode33 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:33: constexpr size_t kFlexfecPacketMaskSizeKBit0Set = 2; ...
4 years, 3 months ago (2016-09-20 11:13:34 UTC) #45
danilchap
looks good overall, next batch of nits https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode83 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:83: return false; ...
4 years, 3 months ago (2016-09-20 15:59:14 UTC) #46
brandtr
Batch of nits addressed :) https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode83 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:83: return false; On 2016/09/20 ...
4 years, 3 months ago (2016-09-21 09:23:24 UTC) #50
brandtr
Rebase.
4 years, 3 months ago (2016-09-21 10:50:16 UTC) #51
brandtr
Missed one comment.
4 years, 3 months ago (2016-09-21 10:59:21 UTC) #52
brandtr
Missed one comment in previous reply. https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc (right): https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc#newcode998 webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc:998: recovered_packets_.clear(); On 2016/09/20 ...
4 years, 3 months ago (2016-09-21 11:00:43 UTC) #53
danilchap
lgtm there are always nits though, but still looks good https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode83 ...
4 years, 3 months ago (2016-09-21 11:17:56 UTC) #54
brandtr
Thanks for super quick response time. Nits addressed :) https://codereview.webrtc.org/2269903002/diff/1010001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc (right): https://codereview.webrtc.org/2269903002/diff/1010001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc#newcode158 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc:158: ...
4 years, 3 months ago (2016-09-21 11:43:28 UTC) #55
brandtr
Missed some comments from older patchset. https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/930001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode83 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:83: return false; On ...
4 years, 3 months ago (2016-09-21 12:53:11 UTC) #58
brandtr
Will wait for feedback from holmer@ as well, before landing.
4 years, 3 months ago (2016-09-21 13:44:22 UTC) #60
brandtr
Rebase.
4 years, 2 months ago (2016-09-27 08:20:00 UTC) #61
stefan-webrtc
https://codereview.webrtc.org/2269903002/diff/1130001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/1130001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode114 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:114: // but makes it compatible with the ULPFEC masks. ...
4 years, 2 months ago (2016-09-28 07:53:30 UTC) #62
brandtr
https://codereview.webrtc.org/2269903002/diff/1130001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc File webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc (right): https://codereview.webrtc.org/2269903002/diff/1130001/webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc#newcode114 webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.cc:114: // but makes it compatible with the ULPFEC masks. ...
4 years, 2 months ago (2016-09-28 09:11:32 UTC) #65
brandtr
ping holmer :)
4 years, 2 months ago (2016-09-30 06:57:24 UTC) #66
stefan-webrtc
lgtm, but I think we may want clarification about kbit2 before we start using this. ...
4 years, 2 months ago (2016-09-30 08:22:43 UTC) #67
brandtr
I will reach out to the draft authors for clarification re. K-bit 2.
4 years, 2 months ago (2016-09-30 08:28:31 UTC) #68
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/2269903002/1250001
4 years, 2 months ago (2016-09-30 11:58:07 UTC) #72
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 2 months ago (2016-09-30 15:04:11 UTC) #74
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/2269903002/1250001
4 years, 2 months ago (2016-10-03 05:59:17 UTC) #76
commit-bot: I haz the power
Committed patchset #44 (id:1250001)
4 years, 2 months ago (2016-10-03 07:43:28 UTC) #78
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 07:43:38 UTC) #80
Message was sent while issue was closed.
Patchset 44 (id:??) landed as
https://crrev.com/0496de298e38f8689ecefef27c31a3433bf3d073
Cr-Commit-Position: refs/heads/master@{#14469}

Powered by Google App Engine
This is Rietveld 408576698