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

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

Issue 2362373002: Remove chain of methods in RtpRtcp module to get current payload frequency for RTCP SRs (Closed)
Patch Set: comment Created 4 years, 2 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 uint32_t SSRC() const override; 83 uint32_t SSRC() const override;
84 84
85 // Configure SSRC, default is a random number. 85 // Configure SSRC, default is a random number.
86 void SetSSRC(uint32_t ssrc) override; 86 void SetSSRC(uint32_t ssrc) override;
87 87
88 void SetCsrcs(const std::vector<uint32_t>& csrcs) override; 88 void SetCsrcs(const std::vector<uint32_t>& csrcs) override;
89 89
90 RTCPSender::FeedbackState GetFeedbackState(); 90 RTCPSender::FeedbackState GetFeedbackState();
91 91
92 int CurrentSendFrequencyHz() const;
93
94 void SetRtxSendStatus(int mode) override; 92 void SetRtxSendStatus(int mode) override;
95 int RtxSendStatus() const override; 93 int RtxSendStatus() const override;
96 94
97 void SetRtxSsrc(uint32_t ssrc) override; 95 void SetRtxSsrc(uint32_t ssrc) override;
98 96
99 void SetRtxSendPayloadType(int payload_type, 97 void SetRtxSendPayloadType(int payload_type,
100 int associated_payload_type) override; 98 int associated_payload_type) override;
101 99
102 // Sends kRtcpByeCode when going from true to false. 100 // Sends kRtcpByeCode when going from true to false.
103 int32_t SetSendingStatus(bool sending) override; 101 int32_t SetSendingStatus(bool sending) override;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 PacketLossStats receive_loss_stats_; 356 PacketLossStats receive_loss_stats_;
359 357
360 // The processed RTT from RtcpRttStats. 358 // The processed RTT from RtcpRttStats.
361 rtc::CriticalSection critical_section_rtt_; 359 rtc::CriticalSection critical_section_rtt_;
362 int64_t rtt_ms_; 360 int64_t rtt_ms_;
363 }; 361 };
364 362
365 } // namespace webrtc 363 } // namespace webrtc
366 364
367 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 365 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.cc ('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