简体   繁体   中英

Screen video capture including mouse cursor on Mac?

I've been scratching my head for the past week and still cannot find a clear answer regarding this issue...

Basically, I'm building a desktop app for screen/desktop/window capturing using Web API's.

Seems that on Mac, mouse cursor does not appear in the stream. Please see https://bugs.chromium.org/p/chromium/issues/detail?id=238434 and https://github.com/electron/electron/issues/8278

But somehow, a Chrome extension exists and works perfectly fine. Can someone please explain how to successfully record screen using Web technologies to avoid ffmpeg and native scripts? How did those guys manage to overcome this issue on Mac? Does this issue actually exist?

Thanks.

It seems to be a bug where the cursor is not recorded when external displays are hooked to your device.
In my instance, I've got two monitors hooked to a Macbook Pro.

A workaround is unhooking your displays or setting your displays to mirror.

I haven't been able to test a set up with a Mac Pro or Mini hooked to just one or multiple displays.

I created an issue in the Chromium bug report.

自Chrome 56以来,这已得到修复!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM