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

Issue 2271273004: Generalize UlpfecPacketGenerator into AugmentedPacketGenerator. (pt. 8) (Closed)

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

Description

Generalize UlpfecPacketGenerator into AugmentedPacketGenerator. Main changes: - Split out general functionality from UlpfecPacketGenerator into a new class AugmentedPacketGenerator. This will allow for the addition of a FlexfecPacketGenerator that inherits from AugmentedPacketGenerator. - Rename RawRtpPacket to AugmentedPacket. This name is more reflective of its purpose, i.e., an FEC packet with an additional WebRtcRTPHeader. - Return std::unique_ptr's instead of raw pointers. Minor changes: - Update names, based on RawRtpPacket -> AugmentedPacket name change, in FEC unit tests. - Rename |generator_| to |packet_generator_|, in FEC unit tests. - Change some int's to size_t's in the packet generator classes. - Use std::unique_ptr in ProducerFec unittest. No functionality or performance changes are expected due to this CL. BUG=webrtc:5654 Committed: https://crrev.com/0aabdac7431b578ad8dbec73c1bc5ca5d9a779a0 Cr-Commit-Position: refs/heads/master@{#14477}

Patch Set 1 : Rebase. #

Total comments: 11

Patch Set 2 : Review response 1. #

Total comments: 4

Patch Set 3 : Curly braces... #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -172 lines) Patch
M webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc View 1 2 3 4 17 chunks +62 lines, -60 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/fec_test_helper.h View 1 3 chunks +45 lines, -21 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/fec_test_helper.cc View 1 2 3 chunks +61 lines, -54 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc View 1 2 3 4 7 chunks +30 lines, -37 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 33 (16 generated)
brandtr
Rebase.
4 years, 3 months ago (2016-08-30 07:17:06 UTC) #3
brandtr
Rebase
4 years, 3 months ago (2016-09-05 14:40:00 UTC) #5
brandtr
Rebase.
4 years, 3 months ago (2016-09-06 14:37:03 UTC) #6
brandtr
Rebase.
4 years, 3 months ago (2016-09-21 10:52:42 UTC) #15
brandtr
PTAL at this "support CL", which refactors some helper code used in the FEC unit ...
4 years, 3 months ago (2016-09-21 11:03:14 UTC) #17
philipel
https://codereview.webrtc.org/2271273004/diff/140001/webrtc/modules/rtp_rtcp/source/fec_test_helper.cc File webrtc/modules/rtp_rtcp/source/fec_test_helper.cc (right): https://codereview.webrtc.org/2271273004/diff/140001/webrtc/modules/rtp_rtcp/source/fec_test_helper.cc#newcode109 webrtc/modules/rtp_rtcp/source/fec_test_helper.cc:109: for (size_t i = 0; i < length; ++i) ...
4 years, 3 months ago (2016-09-22 11:29:30 UTC) #18
brandtr
https://codereview.webrtc.org/2271273004/diff/140001/webrtc/modules/rtp_rtcp/source/fec_test_helper.cc File webrtc/modules/rtp_rtcp/source/fec_test_helper.cc (right): https://codereview.webrtc.org/2271273004/diff/140001/webrtc/modules/rtp_rtcp/source/fec_test_helper.cc#newcode109 webrtc/modules/rtp_rtcp/source/fec_test_helper.cc:109: for (size_t i = 0; i < length; ++i) ...
4 years, 3 months ago (2016-09-22 14:21:39 UTC) #19
philipel
lgtm with nits https://codereview.webrtc.org/2271273004/diff/140001/webrtc/modules/rtp_rtcp/source/fec_test_helper.cc File webrtc/modules/rtp_rtcp/source/fec_test_helper.cc (right): https://codereview.webrtc.org/2271273004/diff/140001/webrtc/modules/rtp_rtcp/source/fec_test_helper.cc#newcode109 webrtc/modules/rtp_rtcp/source/fec_test_helper.cc:109: for (size_t i = 0; i ...
4 years, 3 months ago (2016-09-23 11:52:15 UTC) #20
danilchap
https://codereview.webrtc.org/2271273004/diff/160001/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc (right): https://codereview.webrtc.org/2271273004/diff/160001/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc#newcode28 webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc:28: using ::testing::_; On 2016/09/23 11:52:14, philipel wrote: > Using ...
4 years, 3 months ago (2016-09-23 12:41:47 UTC) #21
philipel
https://codereview.webrtc.org/2271273004/diff/160001/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc (right): https://codereview.webrtc.org/2271273004/diff/160001/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc#newcode28 webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc:28: using ::testing::_; On 2016/09/23 12:41:47, danilchap wrote: > On ...
4 years, 3 months ago (2016-09-23 13:14:41 UTC) #22
philipel
https://codereview.webrtc.org/2271273004/diff/160001/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc File webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc (right): https://codereview.webrtc.org/2271273004/diff/160001/webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc#newcode28 webrtc/modules/rtp_rtcp/source/fec_receiver_unittest.cc:28: using ::testing::_; On 2016/09/23 13:14:41, philipel wrote: > On ...
4 years, 3 months ago (2016-09-23 14:47:10 UTC) #23
stefan-webrtc
lgtm
4 years, 2 months ago (2016-09-26 10:50:06 UTC) #24
brandtr
Rebase.
4 years, 2 months ago (2016-09-27 08:21:55 UTC) #25
brandtr
Rebase.
4 years, 2 months ago (2016-09-30 13:17:28 UTC) #26
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/2271273004/220001
4 years, 2 months ago (2016-10-03 13:35:26 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:220001)
4 years, 2 months ago (2016-10-03 13:36:46 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 13:36:56 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0aabdac7431b578ad8dbec73c1bc5ca5d9a779a0
Cr-Commit-Position: refs/heads/master@{#14477}

Powered by Google App Engine
This is Rietveld 408576698