Index: webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
index 5f2eb759c96937cccb48d44f421e4f8a22a4c534..d93966aa9e9784e170c3daf945c5424d0b77e61b 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
@@ -296,6 +296,11 @@ void RTCPSender::SetLastRtpTime(uint32_t rtp_timestamp, |
} |
} |
+uint32_t RTCPSender::SSRC() const { |
+ rtc::CritScope lock(&critical_section_rtcp_sender_); |
+ return ssrc_; |
+} |
+ |
void RTCPSender::SetSSRC(uint32_t ssrc) { |
rtc::CritScope lock(&critical_section_rtcp_sender_); |