Make ModuleRtpRtcpImpl member variables private.
This is a follow-up to https://codereview.webrtc.org/2747743002. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2750283003 Cr-Commit-Position: refs/heads/master@{#17271}
This commit is contained in:
parent
9c192b2b06
commit
150708e061
@ -318,15 +318,6 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
|||||||
|
|
||||||
const Clock* clock() const { return clock_; }
|
const Clock* clock() const { return clock_; }
|
||||||
|
|
||||||
// TODO(nisse): Demote all member variables to private, as soon as
|
|
||||||
// downstream code is updated to use the above accessor methods.
|
|
||||||
RTPSender rtp_sender_;
|
|
||||||
|
|
||||||
RTCPSender rtcp_sender_;
|
|
||||||
RTCPReceiver rtcp_receiver_;
|
|
||||||
|
|
||||||
const Clock* const clock_;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, Rtt);
|
FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, Rtt);
|
||||||
FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly);
|
FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly);
|
||||||
@ -338,6 +329,12 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
|||||||
|
|
||||||
bool TimeToSendFullNackList(int64_t now) const;
|
bool TimeToSendFullNackList(int64_t now) const;
|
||||||
|
|
||||||
|
RTPSender rtp_sender_;
|
||||||
|
RTCPSender rtcp_sender_;
|
||||||
|
RTCPReceiver rtcp_receiver_;
|
||||||
|
|
||||||
|
const Clock* const clock_;
|
||||||
|
|
||||||
const bool audio_;
|
const bool audio_;
|
||||||
int64_t last_process_time_;
|
int64_t last_process_time_;
|
||||||
int64_t last_bitrate_process_time_;
|
int64_t last_bitrate_process_time_;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user