use same capturer for thumbnails as chrome does screen sharing

This commit is contained in:
Andy Locascio
2018-01-19 17:33:59 -08:00
committed by Cheng Zhao
parent 87d2571663
commit c9febc49d1

View File

@@ -60,6 +60,7 @@ void DesktopCapturer::StartHandling(bool capture_window,
// implemetation. This is a known and wontFix issue in webrtc (see:
// http://code.google.com/p/webrtc/issues/detail?id=3373)
options.set_disable_effects(false);
options.set_allow_directx_capturer(true);
#endif
std::unique_ptr<webrtc::DesktopCapturer> screen_capturer(