Index: webrtc/modules/rtp_rtcp/include/fec_receiver.h |
diff --git a/webrtc/modules/rtp_rtcp/include/fec_receiver.h b/webrtc/modules/rtp_rtcp/include/fec_receiver.h |
index 65e85ad7a5fdfb1a0a04aba5715c7a789eb68de0..453ede406b98ce827af7e9503d2d22a5f955ac63 100644 |
--- a/webrtc/modules/rtp_rtcp/include/fec_receiver.h |
+++ b/webrtc/modules/rtp_rtcp/include/fec_receiver.h |
@@ -33,13 +33,18 @@ class FecReceiver { |
virtual ~FecReceiver() {} |
+ // Takes a RED packet, strips the RED header, and adds the resulting |
+ // "virtual" RTP packet(s) into the internal buffer. |
virtual int32_t AddReceivedRedPacket(const RTPHeader& rtp_header, |
const uint8_t* incoming_rtp_packet, |
size_t packet_length, |
uint8_t ulpfec_payload_type) = 0; |
+ // Sends the received packets to the FEC and returns all packets |
+ // (both original media and recovered) through the callback. |
virtual int32_t ProcessReceivedFec() = 0; |
+ // Returns a counter describing the added and recovered packets. |
virtual FecPacketCounter GetPacketCounter() const = 0; |
}; |
} // namespace webrtc |