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

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

Issue 1778503002: Experiment for the nack module. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added histogram to BUILD.gn. Created 4 years, 9 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 bool ipv6, 212 bool ipv6,
213 uint8_t authentication_overhead = 0) override; 213 uint8_t authentication_overhead = 0) override;
214 214
215 // (NACK) Negative acknowledgment part. 215 // (NACK) Negative acknowledgment part.
216 216
217 int SelectiveRetransmissions() const override; 217 int SelectiveRetransmissions() const override;
218 218
219 int SetSelectiveRetransmissions(uint8_t settings) override; 219 int SetSelectiveRetransmissions(uint8_t settings) override;
220 220
221 // Send a Negative acknowledgment packet. 221 // Send a Negative acknowledgment packet.
222 // TODO(philipel): Deprecate SendNACK and use SendNack instead.
222 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override; 223 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
223 224
225 void SendNack(const std::vector<uint16_t>& sequence_numbers) override;
226
224 // Store the sent packets, needed to answer to a negative acknowledgment 227 // Store the sent packets, needed to answer to a negative acknowledgment
225 // requests. 228 // requests.
226 void SetStorePacketsStatus(bool enable, uint16_t number_to_store) override; 229 void SetStorePacketsStatus(bool enable, uint16_t number_to_store) override;
227 230
228 bool StorePackets() const override; 231 bool StorePackets() const override;
229 232
230 // Called on receipt of RTCP report block from remote side. 233 // Called on receipt of RTCP report block from remote side.
231 void RegisterRtcpStatisticsCallback( 234 void RegisterRtcpStatisticsCallback(
232 RtcpStatisticsCallback* callback) override; 235 RtcpStatisticsCallback* callback) override;
233 RtcpStatisticsCallback* GetRtcpStatisticsCallback() override; 236 RtcpStatisticsCallback* GetRtcpStatisticsCallback() override;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 PacketLossStats receive_loss_stats_; 362 PacketLossStats receive_loss_stats_;
360 363
361 // The processed RTT from RtcpRttStats. 364 // The processed RTT from RtcpRttStats.
362 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; 365 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_;
363 int64_t rtt_ms_; 366 int64_t rtt_ms_;
364 }; 367 };
365 368
366 } // namespace webrtc 369 } // namespace webrtc
367 370
368 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 371 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698