Index: webrtc/video/send_statistics_proxy.h |
diff --git a/webrtc/video/send_statistics_proxy.h b/webrtc/video/send_statistics_proxy.h |
index 88a0e32de6676be2375417e20fcffed403dea621..e8ef7c24d24ea871673d5afe4a8844ab38845988 100644 |
--- a/webrtc/video/send_statistics_proxy.h |
+++ b/webrtc/video/send_statistics_proxy.h |
@@ -14,6 +14,7 @@ |
#include <map> |
#include <memory> |
#include <string> |
+#include <vector> |
#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/exp_filter.h" |
@@ -57,8 +58,9 @@ class SendStatisticsProxy : public CpuOveruseMetricsObserver, |
void OnInactiveSsrc(uint32_t ssrc); |
// Used to indicate change in content type, which may require a change in |
- // how stats are collected. |
- void SetContentType(VideoEncoderConfig::ContentType content_type); |
+ // how stats are collected and set the configured preffered media bitrate. |
+ void OnEncoderReconfigured(const VideoEncoderConfig& encoder_config, |
+ const std::vector<VideoStream>& streams); |
// Used to update the encoder target rate. |
void OnSetEncoderTargetRate(uint32_t bitrate_bps); |