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

Unified Diff: webrtc/voice_engine/channel_proxy.h

Issue 2688473004: RtpPacketReceiver base class and OnRtpPacket, with a pre-parsed RTP packet. (Closed)
Patch Set: Created 3 years, 10 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/voice_engine/channel_proxy.h
diff --git a/webrtc/voice_engine/channel_proxy.h b/webrtc/voice_engine/channel_proxy.h
index 966abc4868d336ab346c265850e9e0e5edfbf4ec..40e7595fab7fef48b1569d2acf41fcf91bea40bf 100644
--- a/webrtc/voice_engine/channel_proxy.h
+++ b/webrtc/voice_engine/channel_proxy.h
@@ -30,6 +30,7 @@ class RtcEventLog;
class RtcpBandwidthObserver;
class RtcpRttStats;
class RtpPacketSender;
+class RtpPacketReceived;
class RtpReceiver;
class RtpRtcp;
class Transport;
@@ -84,9 +85,7 @@ class ChannelProxy {
virtual void SetInputMute(bool muted);
virtual void RegisterExternalTransport(Transport* transport);
virtual void DeRegisterExternalTransport();
- virtual bool ReceivedRTPPacket(const uint8_t* packet,
- size_t length,
- const PacketTime& packet_time);
+ virtual bool OnRTPPacket(const RtpPacketReceived& packet);
virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length);
virtual const rtc::scoped_refptr<AudioDecoderFactory>&
GetAudioDecoderFactory() const;

Powered by Google App Engine
This is Rietveld 408576698