Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver.h

Issue 3000373002: Verify sender ssrc when receiving rtcp target bitrate (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_); 159 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
160 160
161 void HandleXrReceiveReferenceTime(uint32_t sender_ssrc, 161 void HandleXrReceiveReferenceTime(uint32_t sender_ssrc,
162 const rtcp::Rrtr& rrtr) 162 const rtcp::Rrtr& rrtr)
163 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_); 163 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
164 164
165 void HandleXrDlrrReportBlock(const rtcp::ReceiveTimeInfo& rti) 165 void HandleXrDlrrReportBlock(const rtcp::ReceiveTimeInfo& rti)
166 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_); 166 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
167 167
168 void HandleXrTargetBitrate(const rtcp::TargetBitrate& target_bitrate, 168 void HandleXrTargetBitrate(const rtcp::TargetBitrate& target_bitrate,
169 uint32_t ssrc,
danilchap 2017/08/23 10:33:55 for consistency with HandleXrReceiveReferenceTime
sprang_webrtc 2017/08/23 10:38:11 Done.
169 PacketInformation* packet_information) 170 PacketInformation* packet_information)
170 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_); 171 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
171 172
172 void HandleNack(const rtcp::CommonHeader& rtcp_block, 173 void HandleNack(const rtcp::CommonHeader& rtcp_block,
173 PacketInformation* packet_information) 174 PacketInformation* packet_information)
174 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_); 175 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
175 176
176 void HandleBye(const rtcp::CommonHeader& rtcp_block) 177 void HandleBye(const rtcp::CommonHeader& rtcp_block)
177 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_); 178 EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
178 179
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; 256 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
256 RtcpPacketTypeCounter packet_type_counter_; 257 RtcpPacketTypeCounter packet_type_counter_;
257 258
258 RtcpNackStats nack_stats_; 259 RtcpNackStats nack_stats_;
259 260
260 size_t num_skipped_packets_; 261 size_t num_skipped_packets_;
261 int64_t last_skipped_packets_warning_ms_; 262 int64_t last_skipped_packets_warning_ms_;
262 }; 263 };
263 } // namespace webrtc 264 } // namespace webrtc
264 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ 265 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698