Delete method ModuleRtpRtcpImpl::SendPayloadType.
This was a trivial delegation wrapper, with only a single use. BUG=None Review-Url: https://codereview.webrtc.org/2741413003 Cr-Commit-Position: refs/heads/master@{#17205}
This commit is contained in:
@ -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 +
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user