DescriptionGeneralize FEC unit tests and rename GenerateFec.
- Rename GenerateFec -> EncodeFec in ForwardErrorCorrection. This naming
is more consistent with DecodeFec.
- Add appropriate using directives, to reduce clutter in tests.
- Move ConstructMediaPackets to fec_test_helper.{h,cc}. This will help
future tests of ULPFEC/FlexFEC header formatters.
- Generalize tests in rtp_fec_unittest.cc to typed tests. This will help
testing ForwardErrorCorrection with both ULPFEC and FlexFEC.
This CL should not impact functionality or performance.
BUG=webrtc:5654
Committed: https://crrev.com/ece4aba64ed873c54ecbcb7ba92bf6ed2fcb9d98
Cr-Commit-Position: refs/heads/master@{#14314}
Patch Set 1 #Patch Set 2 : Move using directives and unnamed namespaces into webrtc namespace. #Patch Set 3 : Rebase. #
Total comments: 32
Patch Set 4 : Review response + 'git cl format'. #
Total comments: 2
Patch Set 5 : Review response 2. #Patch Set 6 : Rebase fix. #Patch Set 7 : Rebase. #Patch Set 8 : Rebase. #
Total comments: 6
Patch Set 9 : Review response 3. #Patch Set 10 : Rebase after gyp deprecation. #Dependent Patchsets: Messages
Total messages: 36 (14 generated)
|