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

Side by Side Diff: webrtc/media/base/rtpdump.h

Issue 1917043005: #include "webrtc/base/constructormagic.h" where appropriate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « webrtc/libjingle/xmpp/xmpptask.h ('k') | webrtc/media/base/videoadapter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 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 #ifndef WEBRTC_MEDIA_BASE_RTPDUMP_H_ 11 #ifndef WEBRTC_MEDIA_BASE_RTPDUMP_H_
12 #define WEBRTC_MEDIA_BASE_RTPDUMP_H_ 12 #define WEBRTC_MEDIA_BASE_RTPDUMP_H_
13 13
14 #include <string.h> 14 #include <string.h>
15 15
16 #include <string> 16 #include <string>
17 #include <vector> 17 #include <vector>
18 18
19 #include "webrtc/base/basictypes.h" 19 #include "webrtc/base/basictypes.h"
20 #include "webrtc/base/bytebuffer.h" 20 #include "webrtc/base/bytebuffer.h"
21 #include "webrtc/base/constructormagic.h"
21 #include "webrtc/base/stream.h" 22 #include "webrtc/base/stream.h"
22 23
23 namespace cricket { 24 namespace cricket {
24 25
25 // We use the RTP dump file format compatible to the format used by rtptools 26 // We use the RTP dump file format compatible to the format used by rtptools
26 // (http://www.cs.columbia.edu/irt/software/rtptools/) and Wireshark 27 // (http://www.cs.columbia.edu/irt/software/rtptools/) and Wireshark
27 // (http://wiki.wireshark.org/rtpdump). In particular, the file starts with the 28 // (http://wiki.wireshark.org/rtpdump). In particular, the file starts with the
28 // first line "#!rtpplay1.0 address/port\n", followed by a 16 byte file header. 29 // first line "#!rtpplay1.0 address/port\n", followed by a 16 byte file header.
29 // For each packet, the file contains a 8 byte dump packet header, followed by 30 // For each packet, the file contains a 8 byte dump packet header, followed by
30 // the actual RTP or RTCP packet. 31 // the actual RTP or RTCP packet.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool file_header_written_; 209 bool file_header_written_;
209 uint32_t start_time_ms_; // Time when the record starts. 210 uint32_t start_time_ms_; // Time when the record starts.
210 // If writing to the stream takes longer than this many ms, log a warning. 211 // If writing to the stream takes longer than this many ms, log a warning.
211 uint32_t warn_slow_writes_delay_; 212 uint32_t warn_slow_writes_delay_;
212 RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpWriter); 213 RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpWriter);
213 }; 214 };
214 215
215 } // namespace cricket 216 } // namespace cricket
216 217
217 #endif // WEBRTC_MEDIA_BASE_RTPDUMP_H_ 218 #endif // WEBRTC_MEDIA_BASE_RTPDUMP_H_
OLDNEW
« no previous file with comments | « webrtc/libjingle/xmpp/xmpptask.h ('k') | webrtc/media/base/videoadapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698