OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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/include/module_common_types.h" | 11 #include "webrtc/modules/include/module_common_types.h" |
12 #include "webrtc/modules/video_coding/main/source/packet.h" | 12 #include "webrtc/modules/video_coding/packet.h" |
13 | 13 |
14 #include <assert.h> | 14 #include <assert.h> |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 | 17 |
18 VCMPacket::VCMPacket() | 18 VCMPacket::VCMPacket() |
19 : payloadType(0), | 19 : payloadType(0), |
20 timestamp(0), | 20 timestamp(0), |
21 ntp_time_ms_(0), | 21 ntp_time_ms_(0), |
22 seqNum(0), | 22 seqNum(0), |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 codec = kVideoCodecH264; | 145 codec = kVideoCodecH264; |
146 return; | 146 return; |
147 case kRtpVideoGeneric: | 147 case kRtpVideoGeneric: |
148 case kRtpVideoNone: | 148 case kRtpVideoNone: |
149 codec = kVideoCodecUnknown; | 149 codec = kVideoCodecUnknown; |
150 return; | 150 return; |
151 } | 151 } |
152 } | 152 } |
153 | 153 |
154 } // namespace webrtc | 154 } // namespace webrtc |
OLD | NEW |