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

Unified Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2716643002: Add framerate to VideoSinkWants and ability to signal on overuse (Closed)
Patch Set: windows warning Created 3 years, 9 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/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index 8a1547be197337d6eac1d5f57df50c209927e2f0..0970b5e59daaa1bc76f3d36f6eff18fcbae4b1d9 100644
--- a/webrtc/media/engine/fakewebrtccall.h
+++ b/webrtc/media/engine/fakewebrtccall.h
@@ -137,6 +137,7 @@ class FakeVideoSendStream final
bool resolution_scaling_enabled() const {
return resolution_scaling_enabled_;
}
+ bool framerate_scaling_enabled() const { return framerate_scaling_enalbed_; }
void InjectVideoSinkWants(const rtc::VideoSinkWants& wants);
rtc::VideoSourceInterface<webrtc::VideoFrame>* source() const {
@@ -168,6 +169,7 @@ class FakeVideoSendStream final
webrtc::VideoCodecVP9 vp9;
} vpx_settings_;
bool resolution_scaling_enabled_;
+ bool framerate_scaling_enalbed_;
nisse-webrtc 2017/03/14 09:00:29 Spelling.
sprang_webrtc 2017/03/14 14:15:02 Done.
rtc::VideoSourceInterface<webrtc::VideoFrame>* source_;
int num_swapped_frames_;
rtc::Optional<webrtc::VideoFrame> last_frame_;

Powered by Google App Engine
This is Rietveld 408576698