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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc

Issue 1202253003: More Simulation Framework features (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Using rtc::scoped_ptr on nada_unittest.cc Created 5 years, 5 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/modules/remote_bitrate_estimator/test/estimators/tcp.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc
index 154d68c520c8aab4b33338084374d5eec063c6ea..a02abc6ab8f08abfb02b2edb6b911b0b89b2b0ed 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc
@@ -33,12 +33,11 @@ TcpBweReceiver::~TcpBweReceiver() {
void TcpBweReceiver::ReceivePacket(int64_t arrival_time_ms,
const MediaPacket& media_packet) {
- latest_owd_ms_ = arrival_time_ms - media_packet.sender_timestamp_us() / 1000;
+ latest_owd_ms_ = arrival_time_ms - media_packet.sender_timestamp_ms() / 1000;
acks_.push_back(media_packet.header().sequenceNumber);
- received_packets_.Insert(media_packet.sequence_number(),
- media_packet.send_time_ms(), arrival_time_ms,
- media_packet.payload_size());
+ // Log received packet information.
+ BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
}
FeedbackPacket* TcpBweReceiver::GetFeedback(int64_t now_ms) {

Powered by Google App Engine
This is Rietveld 408576698