diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc index 32109842b1..5410e4bdd6 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc @@ -259,10 +259,6 @@ int32_t ModuleRtpRtcpImpl::DeRegisterSendPayload(const int8_t payload_type) { return rtp_sender_.DeRegisterSendPayload(payload_type); } -int8_t ModuleRtpRtcpImpl::SendPayloadType() const { - return rtp_sender_.SendPayloadType(); -} - uint32_t ModuleRtpRtcpImpl::StartTimestamp() const { return rtp_sender_.TimestampOffset(); } @@ -322,7 +318,7 @@ RTCPSender::FeedbackState ModuleRtpRtcpImpl::GetFeedbackState() { rtp_sender_.GetDataCounters(&rtp_stats, &rtx_stats); RTCPSender::FeedbackState state; - state.send_payload_type = SendPayloadType(); + state.send_payload_type = rtp_sender_.SendPayloadType(); state.packets_sent = rtp_stats.transmitted.packets + rtx_stats.transmitted.packets; state.media_bytes_sent = rtp_stats.transmitted.payload_bytes + diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h index c15515dc48..10639bbca3 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h @@ -57,8 +57,6 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp { int32_t DeRegisterSendPayload(int8_t payload_type) override; - int8_t SendPayloadType() const; - // Register RTP header extension. int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, uint8_t id) override;