Index: webrtc/config.h |
diff --git a/webrtc/config.h b/webrtc/config.h |
index a6778715d87f634692a63b59aac64d3010ec73c6..8e4912cbcde03a3d907eb283160e16219af03a89 100644 |
--- a/webrtc/config.h |
+++ b/webrtc/config.h |
@@ -16,6 +16,7 @@ |
#include <string> |
#include <vector> |
+#include "webrtc/base/basictypes.h" |
#include "webrtc/base/optional.h" |
#include "webrtc/base/refcount.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
@@ -53,6 +54,23 @@ struct UlpfecConfig { |
int red_rtx_payload_type; |
}; |
+// Settings for FlexFEC forward error correction. |
+// Set the payload type to '-1' to disable. |
+struct FlexfecConfig { |
+ FlexfecConfig() |
+ : flexfec_payload_type(-1), flexfec_ssrc(0), protected_media_ssrc(0) {} |
+ std::string ToString() const; |
+ |
+ // Payload type of FlexFEC. |
+ int flexfec_payload_type; |
+ |
+ // SSRC of FlexFEC stream. |
+ uint32_t flexfec_ssrc; |
+ |
+ // SSRC of the single media stream that is protected. |
+ uint32_t protected_media_ssrc; |
stefan-webrtc
2016/10/17 17:56:04
Should we make this a vector already now to avoid
brandtr
2016/10/18 14:31:18
Yes, that seems like a good idea. Done.
|
+}; |
+ |
// RTP header extension, see RFC 5285. |
struct RtpExtension { |
RtpExtension() : id(0) {} |