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 dbd919d0564c69ca97037d6b64044fbfacd33bf6..40e73ebd0e172c71e2df29f6af670a5906def5ca 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
@@ -207,13 +207,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 |