Index: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
index 8a1e2fc36cc81120afef074612c2bc8dbd240f7c..04759abdf4d530a493c5f50c393d849acee8a897 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
@@ -203,13 +203,8 @@ void ModuleRtpRtcpImpl::Process() { |
} |
} |
- // For sending streams, make sure to not send a SR before media has been sent. |
- if (rtcp_sender_.TimeToSendRTCPReport()) { |
- RTCPSender::FeedbackState state = GetFeedbackState(); |
- // Prevent sending streams to send SR before any media has been sent. |
- if (!rtcp_sender_.Sending() || state.packets_sent > 0) |
- rtcp_sender_.SendRTCP(state, kRtcpReport); |
- } |
+ if (rtcp_sender_.TimeToSendRTCPReport()) |
+ rtcp_sender_.SendRTCP(GetFeedbackState(), kRtcpReport); |
if (UpdateRTCPReceiveInformationTimers()) { |
// A receiver has timed out |