Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1114)

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log2rtp_dump.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 <memory> 12 #include <memory>
13 #include <sstream> 13 #include <sstream>
14 #include <string> 14 #include <string>
15 15
16 #include "gflags/gflags.h" 16 #include "gflags/gflags.h"
17 #include "webrtc/base/checks.h"
18 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 17 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
19 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" 18 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h"
20 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
21 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
21 #include "webrtc/rtc_base/checks.h"
22 #include "webrtc/test/rtp_file_writer.h" 22 #include "webrtc/test/rtp_file_writer.h"
23 23
24 namespace { 24 namespace {
25 25
26 using MediaType = webrtc::ParsedRtcEventLog::MediaType; 26 using MediaType = webrtc::ParsedRtcEventLog::MediaType;
27 27
28 DEFINE_bool(noaudio, 28 DEFINE_bool(noaudio,
29 false, 29 false,
30 "Excludes audio packets from the converted RTPdump file."); 30 "Excludes audio packets from the converted RTPdump file.");
31 DEFINE_bool(novideo, 31 DEFINE_bool(novideo,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 rtp_writer->WritePacket(&packet); 189 rtp_writer->WritePacket(&packet);
190 rtcp_counter++; 190 rtcp_counter++;
191 } 191 }
192 } 192 }
193 std::cout << "Wrote " << rtp_counter << (header_only ? " header-only" : "") 193 std::cout << "Wrote " << rtp_counter << (header_only ? " header-only" : "")
194 << " RTP packets and " << rtcp_counter << " RTCP packets to the " 194 << " RTP packets and " << rtcp_counter << " RTCP packets to the "
195 << "output file." << std::endl; 195 << "output file." << std::endl;
196 return 0; 196 return 0;
197 } 197 }
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.cc ('k') | webrtc/logging/rtc_event_log/rtc_event_log2stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698