Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Unified Diff: webrtc/video/send_statistics_proxy.h

Issue 2351633002: Let ViEEncoder handle resolution changes. (Closed)
Patch Set: Fix perf test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698