Index: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
index 1e4da64220d1d91577a38ed3e1277a349bcdff59..a2c7098722baa52776be24eefecdd3ce7f828e73 100644 |
--- a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
+++ b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
@@ -18,6 +18,7 @@ |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/deprecation.h" |
+#include "webrtc/base/optional.h" |
#include "webrtc/modules/include/module.h" |
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
#include "webrtc/modules/video_coding/include/video_coding_defines.h" |
@@ -202,6 +203,9 @@ class RtpRtcp : public Module { |
virtual void SetRtxSendPayloadType(int payload_type, |
int associated_payload_type) = 0; |
+ // Returns the FlexFEC SSRC, if there is one. |
+ virtual rtc::Optional<uint32_t> FlexfecSsrc() const = 0; |
+ |
// Sets sending status. Sends kRtcpByeCode when going from true to false. |
// Returns -1 on failure else 0. |
virtual int32_t SetSendingStatus(bool sending) = 0; |