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 986d51acd40702c9c25ced0786ca38b60c44c375..caef2cfd0faa2c4f6d737750a0921fdeec1a0174 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc |
@@ -303,6 +303,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_); |