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 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_TEST_HELPER_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_TEST_HELPER_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_TEST_HELPER_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_TEST_HELPER_H_ |
13 | 13 |
14 #include "webrtc/modules/interface/module_common_types.h" | 14 #include "webrtc/modules/include/module_common_types.h" |
15 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" | 15 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 const uint8_t kFecPayloadType = 96; | 19 const uint8_t kFecPayloadType = 96; |
20 const uint8_t kRedPayloadType = 97; | 20 const uint8_t kRedPayloadType = 97; |
21 const uint8_t kVp8PayloadType = 120; | 21 const uint8_t kVp8PayloadType = 120; |
22 | 22 |
23 typedef ForwardErrorCorrection::Packet Packet; | 23 typedef ForwardErrorCorrection::Packet Packet; |
24 | 24 |
(...skipping 25 matching lines...) Expand all Loading... |
50 private: | 50 private: |
51 static void BuildRtpHeader(uint8_t* data, const RTPHeader* header); | 51 static void BuildRtpHeader(uint8_t* data, const RTPHeader* header); |
52 | 52 |
53 int num_packets_; | 53 int num_packets_; |
54 uint16_t seq_num_; | 54 uint16_t seq_num_; |
55 uint32_t timestamp_; | 55 uint32_t timestamp_; |
56 }; | 56 }; |
57 } | 57 } |
58 | 58 |
59 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_TEST_HELPER_H_ | 59 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_TEST_HELPER_H_ |
OLD | NEW |