| 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 |
| 11 #include <iostream> | 11 #include <iostream> |
| 12 #include <map> | 12 #include <map> |
| 13 #include <sstream> | 13 #include <sstream> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <utility> // pair | 15 #include <utility> // pair |
| 16 | 16 |
| 17 #include "gflags/gflags.h" | 17 #include "gflags/gflags.h" |
| 18 #include "webrtc/base/checks.h" | |
| 19 #include "webrtc/common_types.h" | 18 #include "webrtc/common_types.h" |
| 20 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" | 19 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" |
| 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" | 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" |
| 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.h" | 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.h" |
| 23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" |
| 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" |
| 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" | 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" |
| 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" |
| 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h" |
| 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" |
| 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" | 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" |
| 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h" | 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h" |
| 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" | 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" |
| 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" | 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" |
| 33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" | 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" |
| 34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | 33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 35 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 34 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 35 #include "webrtc/rtc_base/checks.h" |
| 36 | 36 |
| 37 namespace { | 37 namespace { |
| 38 | 38 |
| 39 DEFINE_bool(noconfig, false, "Excludes stream configurations."); | 39 DEFINE_bool(noconfig, false, "Excludes stream configurations."); |
| 40 DEFINE_bool(noincoming, false, "Excludes incoming packets."); | 40 DEFINE_bool(noincoming, false, "Excludes incoming packets."); |
| 41 DEFINE_bool(nooutgoing, false, "Excludes outgoing packets."); | 41 DEFINE_bool(nooutgoing, false, "Excludes outgoing packets."); |
| 42 // TODO(terelius): Note that the media type doesn't work with outgoing packets. | 42 // TODO(terelius): Note that the media type doesn't work with outgoing packets. |
| 43 DEFINE_bool(noaudio, false, "Excludes audio packets."); | 43 DEFINE_bool(noaudio, false, "Excludes audio packets."); |
| 44 // TODO(terelius): Note that the media type doesn't work with outgoing packets. | 44 // TODO(terelius): Note that the media type doesn't work with outgoing packets. |
| 45 DEFINE_bool(novideo, false, "Excludes video packets."); | 45 DEFINE_bool(novideo, false, "Excludes video packets."); |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 direction); | 529 direction); |
| 530 break; | 530 break; |
| 531 default: | 531 default: |
| 532 break; | 532 break; |
| 533 } | 533 } |
| 534 } | 534 } |
| 535 } | 535 } |
| 536 } | 536 } |
| 537 return 0; | 537 return 0; |
| 538 } | 538 } |
| OLD | NEW |