| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 } | 423 } |
| 424 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: { | 424 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: { |
| 425 break; | 425 break; |
| 426 } | 426 } |
| 427 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { | 427 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { |
| 428 break; | 428 break; |
| 429 } | 429 } |
| 430 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { | 430 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { |
| 431 break; | 431 break; |
| 432 } | 432 } |
| 433 case ParsedRtcEventLog::BWE_PROBE_CLUSTER_CREATED_EVENT: { |
| 434 break; |
| 435 } |
| 436 case ParsedRtcEventLog::BWE_PROBE_RESULT_EVENT: { |
| 437 break; |
| 438 } |
| 433 case ParsedRtcEventLog::UNKNOWN_EVENT: { | 439 case ParsedRtcEventLog::UNKNOWN_EVENT: { |
| 434 break; | 440 break; |
| 435 } | 441 } |
| 436 } | 442 } |
| 437 } | 443 } |
| 438 | 444 |
| 439 if (last_timestamp < first_timestamp) { | 445 if (last_timestamp < first_timestamp) { |
| 440 // No useful events in the log. | 446 // No useful events in the log. |
| 441 first_timestamp = last_timestamp = 0; | 447 first_timestamp = last_timestamp = 0; |
| 442 } | 448 } |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 int64_t capture_ms = packet.header.timestamp / 90.0; | 1197 int64_t capture_ms = packet.header.timestamp / 90.0; |
| 1192 int64_t arrival_ms = packet.timestamp / 1000.0; | 1198 int64_t arrival_ms = packet.timestamp / 1000.0; |
| 1193 timestamps.push_back(std::make_pair(capture_ms, arrival_ms)); | 1199 timestamps.push_back(std::make_pair(capture_ms, arrival_ms)); |
| 1194 } | 1200 } |
| 1195 } | 1201 } |
| 1196 } | 1202 } |
| 1197 return timestamps; | 1203 return timestamps; |
| 1198 } | 1204 } |
| 1199 } // namespace plotting | 1205 } // namespace plotting |
| 1200 } // namespace webrtc | 1206 } // namespace webrtc |
| OLD | NEW |