Replaced magic numbers with constants for PacketFeedback.

Bug: None
Change-Id: Ie22475227406f4e800052b52fa644ea6966db3f1
Reviewed-on: https://webrtc-review.googlesource.com/27100
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20938}
This commit is contained in:
srte
2017-11-29 16:52:28 +01:00
committed by Commit Bot
parent 7eaf2f980f
commit 37b5223289
6 changed files with 16 additions and 12 deletions

View File

@ -1443,7 +1443,7 @@ void EventLogAnalyzer::CreateNetworkDelayFeedbackGraph(Plot* plot) {
float x =
static_cast<float>(clock.TimeInMicroseconds() - begin_time_) /
1000000;
if (packet.send_time_ms == -1) {
if (packet.send_time_ms == PacketFeedback::kNoSendTime) {
late_feedback_series.points.emplace_back(x, prev_y);
continue;
}