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/modules/rtp_rtcp/source/rtcp_packet.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | 13 #include "webrtc/base/checks.h" |
| 14 #include "webrtc/base/logging.h" |
14 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 15 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
15 #include "webrtc/system_wrappers/interface/logging.h" | |
16 | 16 |
17 using webrtc::RTCPUtility::kBtDlrr; | 17 using webrtc::RTCPUtility::kBtDlrr; |
18 using webrtc::RTCPUtility::kBtReceiverReferenceTime; | 18 using webrtc::RTCPUtility::kBtReceiverReferenceTime; |
19 using webrtc::RTCPUtility::kBtVoipMetric; | 19 using webrtc::RTCPUtility::kBtVoipMetric; |
20 | 20 |
21 using webrtc::RTCPUtility::PT_APP; | 21 using webrtc::RTCPUtility::PT_APP; |
22 using webrtc::RTCPUtility::PT_BYE; | 22 using webrtc::RTCPUtility::PT_BYE; |
23 using webrtc::RTCPUtility::PT_IJ; | 23 using webrtc::RTCPUtility::PT_IJ; |
24 using webrtc::RTCPUtility::PT_PSFB; | 24 using webrtc::RTCPUtility::PT_PSFB; |
25 using webrtc::RTCPUtility::PT_RR; | 25 using webrtc::RTCPUtility::PT_RR; |
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 return length_; | 1220 return length_; |
1221 } | 1221 } |
1222 | 1222 |
1223 void RawPacket::SetLength(size_t length) { | 1223 void RawPacket::SetLength(size_t length) { |
1224 assert(length <= buffer_length_); | 1224 assert(length <= buffer_length_); |
1225 length_ = length; | 1225 length_ = length; |
1226 } | 1226 } |
1227 | 1227 |
1228 } // namespace rtcp | 1228 } // namespace rtcp |
1229 } // namespace webrtc | 1229 } // namespace webrtc |
OLD | NEW |