Index: webrtc/media/engine/simulcast.h |
diff --git a/webrtc/media/engine/simulcast.h b/webrtc/media/engine/simulcast.h |
index 20be4c487e443f5b20bc0e051d2931817590ca84..f6b269f8867d4ce814dbceb269143efaa368c513 100644 |
--- a/webrtc/media/engine/simulcast.h |
+++ b/webrtc/media/engine/simulcast.h |
@@ -14,6 +14,7 @@ |
#include <vector> |
#include "webrtc/base/basictypes.h" |
+#include "webrtc/base/optional.h" |
#include "webrtc/config.h" |
namespace cricket { |
@@ -45,12 +46,13 @@ int GetTotalMaxBitrateBps(const std::vector<webrtc::VideoStream>& streams); |
void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32_t>* ssrcs); |
// Get simulcast settings. |
-std::vector<webrtc::VideoStream> GetSimulcastConfig(size_t max_streams, |
- int width, |
- int height, |
- int max_bitrate_bps, |
- int max_qp, |
- int max_framerate); |
+std::vector<webrtc::VideoStream> GetSimulcastConfig( |
+ size_t max_streams, |
+ int width, |
+ int height, |
+ rtc::Optional<int> max_bitrate_bps, |
+ int max_qp, |
+ int max_framerate); |
} // namespace cricket |