| 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/rtp_rtcp/source/rtcp_receiver.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h" |
| 12 | 12 |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 #include <string.h> | 14 #include <string.h> |
| 15 | 15 |
| 16 #include <algorithm> | 16 #include <algorithm> |
| 17 | 17 |
| 18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/trace_event.h" |
| 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" | 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" |
| 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | |
| 21 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" |
| 22 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 23 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" |
| 23 #include "webrtc/system_wrappers/interface/logging.h" | 24 #include "webrtc/system_wrappers/interface/logging.h" |
| 24 #include "webrtc/system_wrappers/interface/trace_event.h" | |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 using namespace RTCPUtility; | 27 using namespace RTCPUtility; |
| 28 using namespace RTCPHelp; | 28 using namespace RTCPHelp; |
| 29 | 29 |
| 30 // The number of RTCP time intervals needed to trigger a timeout. | 30 // The number of RTCP time intervals needed to trigger a timeout. |
| 31 const int kRrTimeoutIntervals = 3; | 31 const int kRrTimeoutIntervals = 3; |
| 32 | 32 |
| 33 const int64_t kMaxWarningLogIntervalMs = 10000; | 33 const int64_t kMaxWarningLogIntervalMs = 10000; |
| 34 | 34 |
| (...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1468 return -1; | 1468 return -1; |
| 1469 } | 1469 } |
| 1470 num += receiveInfo->TmmbrSet.lengthOfSet(); | 1470 num += receiveInfo->TmmbrSet.lengthOfSet(); |
| 1471 receiveInfoIt++; | 1471 receiveInfoIt++; |
| 1472 } | 1472 } |
| 1473 } | 1473 } |
| 1474 return num; | 1474 return num; |
| 1475 } | 1475 } |
| 1476 | 1476 |
| 1477 } // namespace webrtc | 1477 } // namespace webrtc |
| OLD | NEW |