| 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 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // Sets the max reordering threshold in number of packets. | 82 // Sets the max reordering threshold in number of packets. |
| 83 virtual void SetMaxReorderingThreshold(int max_reordering_threshold) = 0; | 83 virtual void SetMaxReorderingThreshold(int max_reordering_threshold) = 0; |
| 84 | 84 |
| 85 // Called on new RTCP stats creation. | 85 // Called on new RTCP stats creation. |
| 86 virtual void RegisterRtcpStatisticsCallback( | 86 virtual void RegisterRtcpStatisticsCallback( |
| 87 RtcpStatisticsCallback* callback) = 0; | 87 RtcpStatisticsCallback* callback) = 0; |
| 88 | 88 |
| 89 // Called on new RTP stats creation. | 89 // Called on new RTP stats creation. |
| 90 virtual void RegisterRtpStatisticsCallback( | 90 virtual void RegisterRtpStatisticsCallback( |
| 91 StreamDataCountersCallback* callback) = 0; | 91 StreamDataCountersCallback* callback) = 0; |
| 92 | |
| 93 // TODO(danilchap): Make pure virtual when all implmentations of the | |
| 94 // ReceiveStatistics interface will implement it. | |
| 95 std::vector<rtcp::ReportBlock> RtcpReportBlocks(size_t max_blocks) override; | |
| 96 }; | 92 }; |
| 97 | 93 |
| 98 } // namespace webrtc | 94 } // namespace webrtc |
| 99 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RECEIVE_STATISTICS_H_ | 95 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RECEIVE_STATISTICS_H_ |
| OLD | NEW |