NativeDesktopMediaList: do desktop capture on an exclusive thread
webrtc::ScreenCapturerMac requires to be started and destroyed on same thread. The current SequencedTaskRunner can't satisfy this and will cause random crashes. This cl is to use an exclusive capture thread as same as the one in content/browser/media/capture/desktop_capture_device.cc. Bug: 877982,851883 Change-Id: I6508add3660f63e1d2539dd2175a131f869a836a Reviewed-on: https://chromium-review.googlesource.com/1199806 Commit-Queue: Weiyong Yao <braveyao@chromium.org> Reviewed-by:Julien Isorce <julien.isorce@chromium.org> Cr-Commit-Position: refs/heads/master@{#588151}
Showing
Please register or sign in to comment