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

Unified Diff: webrtc/voice_engine/channel_proxy.cc

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.cc
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc
index a58b2e19557790c9248ae0133a714fa4d50729ae..30dfb5145270d8c3484d4f8536a8641447b35f88 100644
--- a/webrtc/voice_engine/channel_proxy.cc
+++ b/webrtc/voice_engine/channel_proxy.cc
@@ -184,11 +184,9 @@ void ChannelProxy::DeRegisterExternalTransport() {
channel()->DeRegisterExternalTransport();
}
-bool ChannelProxy::ReceivedRTPPacket(const uint8_t* packet,
- size_t length,
- const PacketTime& packet_time) {
+bool ChannelProxy::OnRTPPacket(const RtpPacketReceived& packet) {
// May be called on either worker thread or network thread.
- return channel()->ReceivedRTPPacket(packet, length, packet_time) == 0;
+ return channel()->OnRTPPacket(packet) == 0;
}
bool ChannelProxy::ReceivedRTCPPacket(const uint8_t* packet, size_t length) {

Powered by Google App Engine
This is Rietveld 408576698