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

Unified Diff: webrtc/voice_engine/voe_network_impl.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
« webrtc/voice_engine/channel.h ('K') | « webrtc/voice_engine/channel_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/voe_network_impl.cc
diff --git a/webrtc/voice_engine/voe_network_impl.cc b/webrtc/voice_engine/voe_network_impl.cc
index 6941629d79debb6eef8f2cb9e1dbbcc076c61c05..d15f875666f3f085fc6efac28017053afee9ca29 100644
--- a/webrtc/voice_engine/voe_network_impl.cc
+++ b/webrtc/voice_engine/voe_network_impl.cc
@@ -84,8 +84,14 @@ int VoENetworkImpl::ReceivedRTPPacket(int channel,
LOG_F(LS_ERROR) << "No external transport for channel: " << channel;
return -1;
}
+ // TODO(nisse): Is this code going to be deleted? If not, it needs
+ // to parse the packet here since ReceivedRTPPacket is replaced by
+ // OnRtpPacket.
+ return false;
+#if 0
return channelPtr->ReceivedRTPPacket(static_cast<const uint8_t*>(data),
length, packet_time);
+#endif
}
int VoENetworkImpl::ReceivedRTCPPacket(int channel,
« webrtc/voice_engine/channel.h ('K') | « webrtc/voice_engine/channel_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698