Remove chain of methods in RtpRtcp module to get current payload frequency for RTCP SRs, which anyway was stuck to defaults for video/audio.
BUG=webrtc:2795,webrtc:6458 Review-Url: https://codereview.webrtc.org/2362373002 Cr-Commit-Position: refs/heads/master@{#14476}
This commit is contained in:
@ -313,7 +313,6 @@ RTCPSender::FeedbackState ModuleRtpRtcpImpl::GetFeedbackState() {
|
||||
|
||||
RTCPSender::FeedbackState state;
|
||||
state.send_payload_type = SendPayloadType();
|
||||
state.frequency_hz = CurrentSendFrequencyHz();
|
||||
state.packets_sent = rtp_stats.transmitted.packets +
|
||||
rtx_stats.transmitted.packets;
|
||||
state.media_bytes_sent = rtp_stats.transmitted.payload_bytes +
|
||||
@ -332,10 +331,6 @@ RTCPSender::FeedbackState ModuleRtpRtcpImpl::GetFeedbackState() {
|
||||
return state;
|
||||
}
|
||||
|
||||
int ModuleRtpRtcpImpl::CurrentSendFrequencyHz() const {
|
||||
return rtp_sender_.SendPayloadFrequency();
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::SetSendingStatus(const bool sending) {
|
||||
if (rtcp_sender_.Sending() != sending) {
|
||||
// Sends RTCP BYE when going from true to false
|
||||
|
||||
Reference in New Issue
Block a user