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

Side by Side Diff: webrtc/video/rtp_stream_receiver.h

Issue 2181383002: Add NACK rate throttling for audio channels. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/rtp_stream_receiver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 public: 55 public:
56 RtpStreamReceiver(vcm::VideoReceiver* video_receiver, 56 RtpStreamReceiver(vcm::VideoReceiver* video_receiver,
57 RemoteBitrateEstimator* remote_bitrate_estimator, 57 RemoteBitrateEstimator* remote_bitrate_estimator,
58 Transport* transport, 58 Transport* transport,
59 RtcpRttStats* rtt_stats, 59 RtcpRttStats* rtt_stats,
60 PacedSender* paced_sender, 60 PacedSender* paced_sender,
61 PacketRouter* packet_router, 61 PacketRouter* packet_router,
62 VieRemb* remb, 62 VieRemb* remb,
63 const VideoReceiveStream::Config* config, 63 const VideoReceiveStream::Config* config,
64 ReceiveStatisticsProxy* receive_stats_proxy, 64 ReceiveStatisticsProxy* receive_stats_proxy,
65 ProcessThread* process_thread); 65 ProcessThread* process_thread,
66 RateLimiter* retransmission_rate_limiter);
66 ~RtpStreamReceiver(); 67 ~RtpStreamReceiver();
67 68
68 bool SetReceiveCodec(const VideoCodec& video_codec); 69 bool SetReceiveCodec(const VideoCodec& video_codec);
69 70
70 uint32_t GetRemoteSsrc() const; 71 uint32_t GetRemoteSsrc() const;
71 int GetCsrcs(uint32_t* csrcs) const; 72 int GetCsrcs(uint32_t* csrcs) const;
72 73
73 RtpReceiver* GetRtpReceiver() const; 74 RtpReceiver* GetRtpReceiver() const;
74 RtpRtcp* rtp_rtcp() const { return rtp_rtcp_.get(); } 75 RtpRtcp* rtp_rtcp() const { return rtp_rtcp_.get(); }
75 76
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_); 150 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_);
150 bool restored_packet_in_use_ GUARDED_BY(receive_cs_); 151 bool restored_packet_in_use_ GUARDED_BY(receive_cs_);
151 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_); 152 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_);
152 153
153 const std::unique_ptr<RtpRtcp> rtp_rtcp_; 154 const std::unique_ptr<RtpRtcp> rtp_rtcp_;
154 }; 155 };
155 156
156 } // namespace webrtc 157 } // namespace webrtc
157 158
158 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ 159 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_
OLDNEW
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/rtp_stream_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698