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 30 matching lines...) Expand all Loading... |
41 int64_t maxRTT; | 41 int64_t maxRTT; |
42 int64_t avgRTT; | 42 int64_t avgRTT; |
43 uint32_t numAverageCalcs; | 43 uint32_t numAverageCalcs; |
44 }; | 44 }; |
45 | 45 |
46 class RTCPPacketInformation { | 46 class RTCPPacketInformation { |
47 public: | 47 public: |
48 RTCPPacketInformation(); | 48 RTCPPacketInformation(); |
49 ~RTCPPacketInformation(); | 49 ~RTCPPacketInformation(); |
50 | 50 |
51 void AddNACKPacket(const uint16_t packetID); | |
52 void ResetNACKPacketIdArray(); | |
53 | |
54 void AddReportInfo(const RTCPReportBlockInformation& report_block_info); | 51 void AddReportInfo(const RTCPReportBlockInformation& report_block_info); |
55 | 52 |
56 uint32_t rtcpPacketTypeFlags; // RTCPPacketTypeFlags bit field | 53 uint32_t rtcpPacketTypeFlags; // RTCPPacketTypeFlags bit field |
57 uint32_t remoteSSRC; | 54 uint32_t remoteSSRC; |
58 | 55 |
59 std::vector<uint16_t> nackSequenceNumbers; | 56 std::vector<uint16_t> nackSequenceNumbers; |
60 | 57 |
61 ReportBlockList report_blocks; | 58 ReportBlockList report_blocks; |
62 int64_t rtt; | 59 int64_t rtt; |
63 | 60 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 int64_t last_updated_ms; | 104 int64_t last_updated_ms; |
108 }; | 105 }; |
109 | 106 |
110 std::map<uint32_t, TimedTmmbrItem> tmmbr_; | 107 std::map<uint32_t, TimedTmmbrItem> tmmbr_; |
111 }; | 108 }; |
112 | 109 |
113 } // end namespace RTCPHelp | 110 } // end namespace RTCPHelp |
114 } // namespace webrtc | 111 } // namespace webrtc |
115 | 112 |
116 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ | 113 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ |
OLD | NEW |