| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 139 |
| 140 void HandleReportBlock(const RTCPUtility::RTCPPacket& rtcpPacket, | 140 void HandleReportBlock(const RTCPUtility::RTCPPacket& rtcpPacket, |
| 141 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation, | 141 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation, |
| 142 uint32_t remoteSSRC) | 142 uint32_t remoteSSRC) |
| 143 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 143 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 144 | 144 |
| 145 void HandleSDES(RTCPUtility::RTCPParserV2& rtcpParser, | 145 void HandleSDES(RTCPUtility::RTCPParserV2& rtcpParser, |
| 146 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 146 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 147 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 147 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 148 | 148 |
| 149 void HandleSDESChunk(RTCPUtility::RTCPParserV2& rtcpParser) | |
| 150 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 151 | |
| 152 void HandleXrHeader(RTCPUtility::RTCPParserV2& parser, | 149 void HandleXrHeader(RTCPUtility::RTCPParserV2& parser, |
| 153 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 150 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 154 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 151 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 155 | 152 |
| 156 void HandleXrReceiveReferenceTime( | 153 void HandleXrReceiveReferenceTime( |
| 157 RTCPUtility::RTCPParserV2& parser, | 154 RTCPUtility::RTCPParserV2& parser, |
| 158 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 155 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 159 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 156 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 160 | 157 |
| 161 void HandleXrDlrrReportBlock( | 158 void HandleXrDlrrReportBlock( |
| 162 RTCPUtility::RTCPParserV2& parser, | 159 RTCPUtility::RTCPParserV2& parser, |
| 163 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 160 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 164 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 161 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 165 | 162 |
| 166 void HandleXrDlrrReportBlockItem( | |
| 167 const RTCPUtility::RTCPPacket& packet, | |
| 168 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | |
| 169 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 170 | |
| 171 void HandleNACK(RTCPUtility::RTCPParserV2& rtcpParser, | 163 void HandleNACK(RTCPUtility::RTCPParserV2& rtcpParser, |
| 172 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 164 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 173 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 165 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 174 | 166 |
| 175 void HandleNACKItem(const RTCPUtility::RTCPPacket& rtcpPacket, | |
| 176 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | |
| 177 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 178 | |
| 179 void HandleBYE(RTCPUtility::RTCPParserV2& rtcpParser) | 167 void HandleBYE(RTCPUtility::RTCPParserV2& rtcpParser) |
| 180 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 168 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 181 | 169 |
| 182 void HandlePLI(RTCPUtility::RTCPParserV2& rtcpParser, | 170 void HandlePLI(RTCPUtility::RTCPParserV2& rtcpParser, |
| 183 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 171 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 184 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 172 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 185 | 173 |
| 186 void HandleSLI(RTCPUtility::RTCPParserV2& rtcpParser, | 174 void HandleSLI(RTCPUtility::RTCPParserV2& rtcpParser, |
| 187 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 175 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 188 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 176 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 189 | 177 |
| 190 void HandleSLIItem(const RTCPUtility::RTCPPacket& rtcpPacket, | |
| 191 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | |
| 192 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 193 | |
| 194 void HandleRPSI(RTCPUtility::RTCPParserV2& rtcpParser, | 178 void HandleRPSI(RTCPUtility::RTCPParserV2& rtcpParser, |
| 195 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 179 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 196 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 180 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 197 | 181 |
| 198 void HandlePsfbApp(RTCPUtility::RTCPParserV2& rtcpParser, | 182 void HandlePsfbApp(RTCPUtility::RTCPParserV2& rtcpParser, |
| 199 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 183 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 200 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 184 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 201 | 185 |
| 202 void HandleREMBItem(RTCPUtility::RTCPParserV2& rtcpParser, | |
| 203 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | |
| 204 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 205 | |
| 206 void HandleTMMBR(RTCPUtility::RTCPParserV2& rtcpParser, | 186 void HandleTMMBR(RTCPUtility::RTCPParserV2& rtcpParser, |
| 207 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 187 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 208 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 188 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 209 | 189 |
| 210 void HandleTMMBRItem(RTCPHelp::RTCPReceiveInformation& receiveInfo, | |
| 211 const RTCPUtility::RTCPPacket& rtcpPacket, | |
| 212 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation, | |
| 213 uint32_t senderSSRC) | |
| 214 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 215 | |
| 216 void HandleTMMBN(RTCPUtility::RTCPParserV2& rtcpParser, | 190 void HandleTMMBN(RTCPUtility::RTCPParserV2& rtcpParser, |
| 217 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 191 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 218 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 192 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 219 | 193 |
| 220 void HandleSR_REQ(RTCPUtility::RTCPParserV2& rtcpParser, | 194 void HandleSR_REQ(RTCPUtility::RTCPParserV2& rtcpParser, |
| 221 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 195 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 222 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 196 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 223 | 197 |
| 224 void HandleTMMBNItem(RTCPHelp::RTCPReceiveInformation& receiveInfo, | |
| 225 const RTCPUtility::RTCPPacket& rtcpPacket) | |
| 226 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 227 | |
| 228 void HandleFIR(RTCPUtility::RTCPParserV2& rtcpParser, | 198 void HandleFIR(RTCPUtility::RTCPParserV2& rtcpParser, |
| 229 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | 199 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) |
| 230 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 200 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 231 | 201 |
| 232 void HandleFIRItem(RTCPHelp::RTCPReceiveInformation* receiveInfo, | |
| 233 const RTCPUtility::RTCPPacket& rtcpPacket, | |
| 234 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) | |
| 235 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | |
| 236 | |
| 237 void HandleTransportFeedback( | 202 void HandleTransportFeedback( |
| 238 RTCPUtility::RTCPParserV2* rtcp_parser, | 203 RTCPUtility::RTCPParserV2* rtcp_parser, |
| 239 RTCPHelp::RTCPPacketInformation* rtcp_packet_information) | 204 RTCPHelp::RTCPPacketInformation* rtcp_packet_information) |
| 240 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 205 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 241 | 206 |
| 242 RTCPHelp::RTCPReportBlockInformation* CreateOrGetReportBlockInformation( | 207 RTCPHelp::RTCPReportBlockInformation* CreateOrGetReportBlockInformation( |
| 243 uint32_t remote_ssrc, | 208 uint32_t remote_ssrc, |
| 244 uint32_t source_ssrc) | 209 uint32_t source_ssrc) |
| 245 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); | 210 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); |
| 246 RTCPHelp::RTCPReportBlockInformation* GetReportBlockInformation( | 211 RTCPHelp::RTCPReportBlockInformation* GetReportBlockInformation( |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; | 261 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; |
| 297 RtcpPacketTypeCounter packet_type_counter_; | 262 RtcpPacketTypeCounter packet_type_counter_; |
| 298 | 263 |
| 299 RTCPUtility::NackStats nack_stats_; | 264 RTCPUtility::NackStats nack_stats_; |
| 300 | 265 |
| 301 size_t num_skipped_packets_; | 266 size_t num_skipped_packets_; |
| 302 int64_t last_skipped_packets_warning_; | 267 int64_t last_skipped_packets_warning_; |
| 303 }; | 268 }; |
| 304 } // namespace webrtc | 269 } // namespace webrtc |
| 305 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 270 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
| OLD | NEW |