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

Unified Diff: webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h

Issue 2886813002: Delete RtpData::OnRecoveredPacket, use RecoveredPacketReceiver instead. (Closed)
Patch Set: Comment nit. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
diff --git a/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h b/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
index 8dbc8af687e7077f9563d0dae3c127ea77fe2946..e24570c1cd9176fa6fc49349724bd3145f17d7e3 100644
--- a/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
+++ b/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
@@ -23,7 +23,7 @@ namespace webrtc {
class UlpfecReceiverImpl : public UlpfecReceiver {
public:
- explicit UlpfecReceiverImpl(RtpData* callback);
+ explicit UlpfecReceiverImpl(RecoveredPacketReceiver* callback);
virtual ~UlpfecReceiverImpl();
int32_t AddReceivedRedPacket(const RTPHeader& rtp_header,
@@ -37,7 +37,7 @@ class UlpfecReceiverImpl : public UlpfecReceiver {
private:
rtc::CriticalSection crit_sect_;
- RtpData* recovered_packet_callback_;
+ RecoveredPacketReceiver* recovered_packet_callback_;
std::unique_ptr<ForwardErrorCorrection> fec_;
// TODO(holmer): In the current version |received_packets_| is never more
// than one packet, since we process FEC every time a new packet
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h ('k') | webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698