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 #ifndef WEBRTC_MEDIA_BASE_RTPUTILS_H_ | 11 #ifndef WEBRTC_MEDIA_BASE_RTPUTILS_H_ |
12 #define WEBRTC_MEDIA_BASE_RTPUTILS_H_ | 12 #define WEBRTC_MEDIA_BASE_RTPUTILS_H_ |
13 | 13 |
14 #include "webrtc/rtc_base/byteorder.h" | 14 #include "webrtc/base/byteorder.h" |
15 | 15 |
16 namespace rtc { | 16 namespace rtc { |
17 struct PacketTimeUpdateParams; | 17 struct PacketTimeUpdateParams; |
18 } // namespace rtc | 18 } // namespace rtc |
19 | 19 |
20 namespace cricket { | 20 namespace cricket { |
21 | 21 |
22 const size_t kMinRtpPacketLen = 12; | 22 const size_t kMinRtpPacketLen = 12; |
23 const size_t kMaxRtpPacketLen = 2048; | 23 const size_t kMaxRtpPacketLen = 2048; |
24 const size_t kMinRtcpPacketLen = 4; | 24 const size_t kMinRtcpPacketLen = 4; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // extension header if it is present present then updates HMAC. | 81 // extension header if it is present present then updates HMAC. |
82 bool ApplyPacketOptions(uint8_t* data, | 82 bool ApplyPacketOptions(uint8_t* data, |
83 size_t length, | 83 size_t length, |
84 const rtc::PacketTimeUpdateParams& packet_time_params, | 84 const rtc::PacketTimeUpdateParams& packet_time_params, |
85 uint64_t time_us); | 85 uint64_t time_us); |
86 | 86 |
87 | 87 |
88 } // namespace cricket | 88 } // namespace cricket |
89 | 89 |
90 #endif // WEBRTC_MEDIA_BASE_RTPUTILS_H_ | 90 #endif // WEBRTC_MEDIA_BASE_RTPUTILS_H_ |
OLD | NEW |