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/constructormagic.h" |
21 #include "webrtc/base/format_macros.h" | 21 #include "webrtc/base/format_macros.h" |
22 #include "webrtc/base/scoped_ptr.h" | |
23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
24 | 23 |
25 namespace webrtc { | 24 namespace webrtc { |
26 namespace test { | 25 namespace test { |
27 | 26 |
28 static const size_t kFirstLineLength = 40; | 27 static const size_t kFirstLineLength = 40; |
29 static uint16_t kPacketHeaderSize = 8; | 28 static uint16_t kPacketHeaderSize = 8; |
30 | 29 |
31 #if 1 | 30 #if 1 |
32 # define DEBUG_LOG(text) | 31 # define DEBUG_LOG(text) |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 return reader; | 665 return reader; |
667 } | 666 } |
668 | 667 |
669 RtpFileReader* RtpFileReader::Create(FileFormat format, | 668 RtpFileReader* RtpFileReader::Create(FileFormat format, |
670 const std::string& filename) { | 669 const std::string& filename) { |
671 return RtpFileReader::Create(format, filename, std::set<uint32_t>()); | 670 return RtpFileReader::Create(format, filename, std::set<uint32_t>()); |
672 } | 671 } |
673 | 672 |
674 } // namespace test | 673 } // namespace test |
675 } // namespace webrtc | 674 } // namespace webrtc |
OLD | NEW |