Index: webrtc/api/rtpparameters.h |
diff --git a/webrtc/api/rtpparameters.h b/webrtc/api/rtpparameters.h |
index 2c29d9843d9ee597c81e313e2476f05344065b40..3a923436e0db14caf7ce0303339d31f9d88fe78b 100644 |
--- a/webrtc/api/rtpparameters.h |
+++ b/webrtc/api/rtpparameters.h |
@@ -12,6 +12,7 @@ |
#define WEBRTC_API_RTPPARAMETERS_H_ |
#include <vector> |
+#include "webrtc/base/optional.h" |
namespace webrtc { |
@@ -19,7 +20,7 @@ namespace webrtc { |
// See http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface for details. |
struct RtpEncodingParameters { |
bool active = true; |
- int max_bitrate_bps = -1; |
+ rtc::Optional<int> max_bitrate_bps; |
}; |
struct RtpParameters { |