Reorder member functions in FecReceiver unit test file.

- Place all member function definitions between test fixture
  declaration and unit tests.
- Rename GenerateFrame -> PacketizeFrame.

No functional changes are intended by this CL.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2275303003
Cr-Commit-Position: refs/heads/master@{#14488}
This commit is contained in:
brandtr
2016-10-04 00:00:06 -07:00
committed by Commit bot
parent 8d02ea73c0
commit a2ece731bf
3 changed files with 136 additions and 95 deletions

View File

@ -35,6 +35,9 @@ class FecReceiver {
// Takes a RED packet, strips the RED header, and adds the resulting
// "virtual" RTP packet(s) into the internal buffer.
//
// TODO(brandtr): Set |ulpfec_payload_type| during constructor call,
// rather than as a parameter here.
virtual int32_t AddReceivedRedPacket(const RTPHeader& rtp_header,
const uint8_t* incoming_rtp_packet,
size_t packet_length,