Index: webrtc/video/video_send_stream.cc |
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc |
index b2ed30e1ac4d296fa25066043ddd329e8bf616c0..fe4d1d903bff794a32c87b62a1f159bb581b0d00 100644 |
--- a/webrtc/video/video_send_stream.cc |
+++ b/webrtc/video/video_send_stream.cc |
@@ -135,11 +135,15 @@ bool PayloadTypeSupportsSkippingFecPackets(const std::string& payload_name) { |
return false; |
} |
+// TODO(pbos): Lower these thresholds (to closer to 100%) when we handle |
+// pipelining encoders better (multiple input frames before something comes |
+// out). This should effectively turn off CPU adaptations for systems that |
+// remotely cope with the load right now. |
CpuOveruseOptions GetCpuOveruseOptions(bool full_overuse_time) { |
CpuOveruseOptions options; |
if (full_overuse_time) { |
- options.low_encode_usage_threshold_percent = 100; |
- options.high_encode_usage_threshold_percent = 120; |
+ options.low_encode_usage_threshold_percent = 150; |
+ options.high_encode_usage_threshold_percent = 200; |
} |
return options; |
} |