OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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/receive_statistics_impl.h" | 11 #include "webrtc/modules/rtp_rtcp/source/receive_statistics_impl.h" |
12 | 12 |
13 #include <math.h> | 13 #include <math.h> |
14 | 14 |
15 #include "webrtc/base/scoped_ptr.h" | 15 #include "webrtc/base/scoped_ptr.h" |
16 #include "webrtc/modules/rtp_rtcp/source/bitrate.h" | 16 #include "webrtc/modules/rtp_rtcp/source/bitrate.h" |
17 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 17 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
18 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 const int64_t kStatisticsTimeoutMs = 8000; | 22 const int64_t kStatisticsTimeoutMs = 8000; |
23 const int64_t kStatisticsProcessIntervalMs = 1000; | 23 const int64_t kStatisticsProcessIntervalMs = 1000; |
24 | 24 |
25 StreamStatistician::~StreamStatistician() {} | 25 StreamStatistician::~StreamStatistician() {} |
26 | 26 |
27 StreamStatisticianImpl::StreamStatisticianImpl( | 27 StreamStatisticianImpl::StreamStatisticianImpl( |
28 Clock* clock, | 28 Clock* clock, |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 | 539 |
540 int32_t NullReceiveStatistics::Process() { return 0; } | 540 int32_t NullReceiveStatistics::Process() { return 0; } |
541 | 541 |
542 void NullReceiveStatistics::RegisterRtcpStatisticsCallback( | 542 void NullReceiveStatistics::RegisterRtcpStatisticsCallback( |
543 RtcpStatisticsCallback* callback) {} | 543 RtcpStatisticsCallback* callback) {} |
544 | 544 |
545 void NullReceiveStatistics::RegisterRtpStatisticsCallback( | 545 void NullReceiveStatistics::RegisterRtpStatisticsCallback( |
546 StreamDataCountersCallback* callback) {} | 546 StreamDataCountersCallback* callback) {} |
547 | 547 |
548 } // namespace webrtc | 548 } // namespace webrtc |
OLD | NEW |