| 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 #ifndef WEBRTC_VIDEO_ENGINE_REPORT_BLOCK_STATS_H_ | 11 #ifndef WEBRTC_VIDEO_ENGINE_REPORT_BLOCK_STATS_H_ |
| 12 #define WEBRTC_VIDEO_ENGINE_REPORT_BLOCK_STATS_H_ | 12 #define WEBRTC_VIDEO_ENGINE_REPORT_BLOCK_STATS_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/common_types.h" | 17 #include "webrtc/common_types.h" |
| 18 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 19 | 19 |
| 20 namespace webrtc { | 20 namespace webrtc { |
| 21 | 21 |
| 22 // Helper class for rtcp statistics. | 22 // Helper class for rtcp statistics. |
| 23 class ReportBlockStats { | 23 class ReportBlockStats { |
| 24 public: | 24 public: |
| 25 typedef std::map<uint32_t, RTCPReportBlock> ReportBlockMap; | 25 typedef std::map<uint32_t, RTCPReportBlock> ReportBlockMap; |
| 26 typedef std::vector<RTCPReportBlock> ReportBlockVector; | 26 typedef std::vector<RTCPReportBlock> ReportBlockVector; |
| 27 ReportBlockStats(); | 27 ReportBlockStats(); |
| 28 ~ReportBlockStats() {} | 28 ~ReportBlockStats() {} |
| (...skipping 24 matching lines...) Expand all Loading... |
| 53 uint32_t num_lost_sequence_numbers_; | 53 uint32_t num_lost_sequence_numbers_; |
| 54 | 54 |
| 55 // Map holding the last stored report block (mapped by the source SSRC). | 55 // Map holding the last stored report block (mapped by the source SSRC). |
| 56 ReportBlockMap prev_report_blocks_; | 56 ReportBlockMap prev_report_blocks_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace webrtc | 59 } // namespace webrtc |
| 60 | 60 |
| 61 #endif // WEBRTC_VIDEO_ENGINE_REPORT_BLOCK_STATS_H_ | 61 #endif // WEBRTC_VIDEO_ENGINE_REPORT_BLOCK_STATS_H_ |
| 62 | 62 |
| OLD | NEW |