OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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/modules/video_coding/codecs/test/packet_manipulator.h" | 11 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 | 15 |
16 #include "webrtc/base/format_macros.h" | 16 #include "webrtc/rtc_base/format_macros.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 namespace test { | 19 namespace test { |
20 | 20 |
21 PacketManipulatorImpl::PacketManipulatorImpl(PacketReader* packet_reader, | 21 PacketManipulatorImpl::PacketManipulatorImpl(PacketReader* packet_reader, |
22 const NetworkingConfig& config, | 22 const NetworkingConfig& config, |
23 bool verbose) | 23 bool verbose) |
24 : packet_reader_(packet_reader), | 24 : packet_reader_(packet_reader), |
25 config_(config), | 25 config_(config), |
26 active_burst_packets_(0), | 26 active_burst_packets_(0), |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 case kBurst: | 98 case kBurst: |
99 return "Burst"; | 99 return "Burst"; |
100 default: | 100 default: |
101 assert(false); | 101 assert(false); |
102 return "Unknown"; | 102 return "Unknown"; |
103 } | 103 } |
104 } | 104 } |
105 | 105 |
106 } // namespace test | 106 } // namespace test |
107 } // namespace webrtc | 107 } // namespace webrtc |
OLD | NEW |