OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 "webrtc/test/rtp_file_reader.h" | 11 #include "webrtc/test/rtp_file_reader.h" |
12 | 12 |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 | 14 |
15 #include <map> | 15 #include <map> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/base/checks.h" | 19 #include "webrtc/base/checks.h" |
| 20 #include "webrtc/base/constructormagic.h" |
20 #include "webrtc/base/format_macros.h" | 21 #include "webrtc/base/format_macros.h" |
21 #include "webrtc/base/scoped_ptr.h" | 22 #include "webrtc/base/scoped_ptr.h" |
22 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
23 | 24 |
24 namespace webrtc { | 25 namespace webrtc { |
25 namespace test { | 26 namespace test { |
26 | 27 |
27 static const size_t kFirstLineLength = 40; | 28 static const size_t kFirstLineLength = 40; |
28 static uint16_t kPacketHeaderSize = 8; | 29 static uint16_t kPacketHeaderSize = 8; |
29 | 30 |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 return reader; | 666 return reader; |
666 } | 667 } |
667 | 668 |
668 RtpFileReader* RtpFileReader::Create(FileFormat format, | 669 RtpFileReader* RtpFileReader::Create(FileFormat format, |
669 const std::string& filename) { | 670 const std::string& filename) { |
670 return RtpFileReader::Create(format, filename, std::set<uint32_t>()); | 671 return RtpFileReader::Create(format, filename, std::set<uint32_t>()); |
671 } | 672 } |
672 | 673 |
673 } // namespace test | 674 } // namespace test |
674 } // namespace webrtc | 675 } // namespace webrtc |
OLD | NEW |