OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 break; | 559 break; |
560 case webrtc::rtcp::Psfb::kPacketType: | 560 case webrtc::rtcp::Psfb::kPacketType: |
561 PrintPsFeedback(parsed_stream, rtcp_block, log_timestamp, | 561 PrintPsFeedback(parsed_stream, rtcp_block, log_timestamp, |
562 direction); | 562 direction); |
563 break; | 563 break; |
564 default: | 564 default: |
565 break; | 565 break; |
566 } | 566 } |
567 } | 567 } |
568 } | 568 } |
| 569 if (parsed_stream.GetEventType(i) == |
| 570 webrtc::ParsedRtcEventLog::HOST_LOOKUP_EVENT) { |
| 571 int error; |
| 572 int64_t elapsed_ms; |
| 573 parsed_stream.GetHostLookup(i, &error, &elapsed_ms); |
| 574 std::cout << parsed_stream.GetTimestamp(i) |
| 575 << "\tHOST_LOOKUP" |
| 576 << "\terror=" << error |
| 577 << "\telapsed_ms=" << elapsed_ms |
| 578 << std::endl; |
| 579 } |
569 } | 580 } |
570 return 0; | 581 return 0; |
571 } | 582 } |
OLD | NEW |