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

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

Issue 2708873003: Propagate packet pacing information to SendTimeHistory. (Closed)
Patch Set: TransportFeedbackAdapterTest fix. 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/modules/remote_bitrate_estimator/test/estimators/send_side.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc
index a53ca6834b56d1dadea9fef883d787d7361530e5..bf52c826e200984924bdd09949aaf679e5551b87 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc
@@ -112,7 +112,7 @@ void SendSideBweSender::OnPacketsSent(const Packets& packets) {
// to create tests for probing using cluster ids.
send_time_history_.AddAndRemoveOld(media_packet->header().sequenceNumber,
media_packet->payload_size(),
- PacedPacketInfo::kNotAProbe);
+ PacedPacketInfo());
send_time_history_.OnSentPacket(media_packet->header().sequenceNumber,
media_packet->sender_timestamp_ms());
}
@@ -142,9 +142,10 @@ SendSideBweReceiver::~SendSideBweReceiver() {
void SendSideBweReceiver::ReceivePacket(int64_t arrival_time_ms,
const MediaPacket& media_packet) {
- packet_feedback_vector_.push_back(PacketInfo(
- -1, arrival_time_ms, media_packet.sender_timestamp_ms(),
- media_packet.header().sequenceNumber, media_packet.payload_size(), true));
+ packet_feedback_vector_.push_back(
+ PacketInfo(-1, arrival_time_ms, media_packet.sender_timestamp_ms(),
+ media_packet.header().sequenceNumber,
+ media_packet.payload_size(), PacedPacketInfo()));
// Log received packet information.
BweReceiver::ReceivePacket(arrival_time_ms, media_packet);

Powered by Google App Engine
This is Rietveld 408576698