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

Unified Diff: webrtc/video/rtp_stream_receiver.cc

Issue 2673523003: Reland of Always call RemoteBitrateEstimator::IncomingPacket from Call. (Closed)
Patch Set: Include padding size in bwe input. 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 | « webrtc/call/call.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/rtp_stream_receiver.cc
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc
index 8064e876bed4fc144274e716c660a8ad3162eabc..50c50d08ce111b76070c5aa321e01b38eb302397 100644
--- a/webrtc/video/rtp_stream_receiver.cc
+++ b/webrtc/video/rtp_stream_receiver.cc
@@ -322,7 +322,6 @@ bool RtpStreamReceiver::DeliverRtp(const uint8_t* rtp_packet,
&header)) {
return false;
}
- size_t payload_length = rtp_packet_length - header.headerLength;
int64_t arrival_time_ms;
int64_t now_ms = clock_->TimeInMilliseconds();
if (packet_time.timestamp != -1)
@@ -348,8 +347,6 @@ bool RtpStreamReceiver::DeliverRtp(const uint8_t* rtp_packet,
}
}
- remote_bitrate_estimator_->IncomingPacket(arrival_time_ms, payload_length,
- header);
header.payload_type_frequency = kVideoPayloadTypeFrequency;
bool in_order = IsPacketInOrder(header);
« no previous file with comments | « webrtc/call/call.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698