OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 } | 416 } |
417 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: { | 417 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: { |
418 BwePacketLossEvent bwe_update; | 418 BwePacketLossEvent bwe_update; |
419 bwe_update.timestamp = parsed_log_.GetTimestamp(i); | 419 bwe_update.timestamp = parsed_log_.GetTimestamp(i); |
420 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate, | 420 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate, |
421 &bwe_update.fraction_loss, | 421 &bwe_update.fraction_loss, |
422 &bwe_update.expected_packets); | 422 &bwe_update.expected_packets); |
423 bwe_loss_updates_.push_back(bwe_update); | 423 bwe_loss_updates_.push_back(bwe_update); |
424 break; | 424 break; |
425 } | 425 } |
| 426 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: { |
| 427 break; |
| 428 } |
426 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { | 429 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { |
427 break; | 430 break; |
428 } | 431 } |
429 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { | 432 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { |
430 break; | 433 break; |
431 } | 434 } |
432 case ParsedRtcEventLog::UNKNOWN_EVENT: { | 435 case ParsedRtcEventLog::UNKNOWN_EVENT: { |
433 break; | 436 break; |
434 } | 437 } |
435 } | 438 } |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 int64_t capture_ms = packet.header.timestamp / 90.0; | 1193 int64_t capture_ms = packet.header.timestamp / 90.0; |
1191 int64_t arrival_ms = packet.timestamp / 1000.0; | 1194 int64_t arrival_ms = packet.timestamp / 1000.0; |
1192 timestamps.push_back(std::make_pair(capture_ms, arrival_ms)); | 1195 timestamps.push_back(std::make_pair(capture_ms, arrival_ms)); |
1193 } | 1196 } |
1194 } | 1197 } |
1195 } | 1198 } |
1196 return timestamps; | 1199 return timestamps; |
1197 } | 1200 } |
1198 } // namespace plotting | 1201 } // namespace plotting |
1199 } // namespace webrtc | 1202 } // namespace webrtc |
OLD | NEW |