| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 ~RTCPReceiveInformation(); | 103 ~RTCPReceiveInformation(); |
| 104 | 104 |
| 105 void VerifyAndAllocateBoundingSet(const uint32_t minimumSize); | 105 void VerifyAndAllocateBoundingSet(const uint32_t minimumSize); |
| 106 void VerifyAndAllocateTMMBRSet(const uint32_t minimumSize); | 106 void VerifyAndAllocateTMMBRSet(const uint32_t minimumSize); |
| 107 | 107 |
| 108 void InsertTMMBRItem(const uint32_t senderSSRC, | 108 void InsertTMMBRItem(const uint32_t senderSSRC, |
| 109 const RTCPUtility::RTCPPacketRTPFBTMMBRItem& TMMBRItem, | 109 const RTCPUtility::RTCPPacketRTPFBTMMBRItem& TMMBRItem, |
| 110 const int64_t currentTimeMS); | 110 const int64_t currentTimeMS); |
| 111 | 111 |
| 112 // get | 112 // get |
| 113 int32_t GetTMMBRSet(const uint32_t sourceIdx, | 113 void GetTMMBRSet(int64_t current_time_ms, |
| 114 const uint32_t targetIdx, | 114 std::vector<rtcp::TmmbItem>* candidateSet); |
| 115 TMMBRSet* candidateSet, | |
| 116 const int64_t currentTimeMS); | |
| 117 | 115 |
| 118 int64_t lastTimeReceived; | 116 int64_t lastTimeReceived; |
| 119 | 117 |
| 120 // FIR | 118 // FIR |
| 121 int32_t lastFIRSequenceNumber; | 119 int32_t lastFIRSequenceNumber; |
| 122 int64_t lastFIRRequest; | 120 int64_t lastFIRRequest; |
| 123 | 121 |
| 124 // TMMBN | 122 // TMMBN |
| 125 TMMBRSet TmmbnBoundingSet; | 123 std::vector<rtcp::TmmbItem> TmmbnBoundingSet; |
| 126 | 124 |
| 127 // TMMBR | 125 // TMMBR |
| 128 TMMBRSet TmmbrSet; | 126 std::vector<rtcp::TmmbItem> TmmbrSet; |
| 129 | 127 |
| 130 bool readyForDelete; | 128 bool readyForDelete; |
| 131 private: | 129 private: |
| 132 std::vector<int64_t> _tmmbrSetTimeouts; | 130 std::vector<int64_t> _tmmbrSetTimeouts; |
| 133 }; | 131 }; |
| 134 | 132 |
| 135 } // end namespace RTCPHelp | 133 } // end namespace RTCPHelp |
| 136 } // namespace webrtc | 134 } // namespace webrtc |
| 137 | 135 |
| 138 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ | 136 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ |
| OLD | NEW |