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

Unified Diff: webrtc/call/call.cc

Issue 2681673004: Replace RtpStreamReceiver::DeliverRtp with OnRtpPacket. (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
« no previous file with comments | « no previous file | webrtc/video/rtp_stream_receiver.h » ('j') | webrtc/video/rtp_stream_receiver.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/call.cc
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
index e21b0762fe8429f21b87b38916c5c5b772ddb119..de32129d2ebf41a6fbaee79d1288085f7401a4cb 100644
--- a/webrtc/call/call.cc
+++ b/webrtc/call/call.cc
@@ -1211,8 +1211,7 @@ PacketReceiver::DeliveryStatus Call::DeliverRtp(MediaType media_type,
if (it != video_receive_ssrcs_.end()) {
received_bytes_per_second_counter_.Add(static_cast<int>(length));
received_video_bytes_per_second_counter_.Add(static_cast<int>(length));
- // TODO(brandtr): Notify the BWE of received media packets here.
- auto status = it->second->DeliverRtp(packet, length, packet_time)
+ auto status = it->second->OnRtpPacket(*parsed_packet)
? DELIVERY_OK
: DELIVERY_PACKET_ERROR;
// Deliver media packets to FlexFEC subsystem. RTP header extensions need
brandtr 2017/02/09 14:22:17 This comment can be reduced to: "Deliver media pac
« no previous file with comments | « no previous file | webrtc/video/rtp_stream_receiver.h » ('j') | webrtc/video/rtp_stream_receiver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698