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 |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "webrtc/system_wrappers/interface/trace_event.h" | 23 #include "webrtc/system_wrappers/interface/trace_event.h" |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 using namespace RTCPUtility; | 26 using namespace RTCPUtility; |
27 using namespace RTCPHelp; | 27 using namespace RTCPHelp; |
28 | 28 |
29 // The number of RTCP time intervals needed to trigger a timeout. | 29 // The number of RTCP time intervals needed to trigger a timeout. |
30 const int kRrTimeoutIntervals = 3; | 30 const int kRrTimeoutIntervals = 3; |
31 | 31 |
32 RTCPReceiver::RTCPReceiver( | 32 RTCPReceiver::RTCPReceiver( |
33 int32_t id, | |
34 Clock* clock, | 33 Clock* clock, |
35 bool receiver_only, | 34 bool receiver_only, |
36 RtcpPacketTypeCounterObserver* packet_type_counter_observer, | 35 RtcpPacketTypeCounterObserver* packet_type_counter_observer, |
37 RtcpBandwidthObserver* rtcp_bandwidth_observer, | 36 RtcpBandwidthObserver* rtcp_bandwidth_observer, |
38 RtcpIntraFrameObserver* rtcp_intra_frame_observer, | 37 RtcpIntraFrameObserver* rtcp_intra_frame_observer, |
39 ModuleRtpRtcpImpl* owner) | 38 ModuleRtpRtcpImpl* owner) |
40 : TMMBRHelp(), | 39 : TMMBRHelp(), |
41 _clock(clock), | 40 _clock(clock), |
42 receiver_only_(receiver_only), | 41 receiver_only_(receiver_only), |
43 _method(kRtcpOff), | 42 _method(kRtcpOff), |
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1446 return -1; | 1445 return -1; |
1447 } | 1446 } |
1448 num += receiveInfo->TmmbrSet.lengthOfSet(); | 1447 num += receiveInfo->TmmbrSet.lengthOfSet(); |
1449 receiveInfoIt++; | 1448 receiveInfoIt++; |
1450 } | 1449 } |
1451 } | 1450 } |
1452 return num; | 1451 return num; |
1453 } | 1452 } |
1454 | 1453 |
1455 } // namespace webrtc | 1454 } // namespace webrtc |
OLD | NEW |