mediadevices icon indicating copy to clipboard operation
mediadevices copied to clipboard

How does screen capture work on Windows vs Linux?

Open ZeoWorks opened this issue 2 years ago • 2 comments

Hi! I have a question regarding the screen capture method.;

Does mediadevices use BitBlt, Desktop Duplication or Windows Graphics Capture to grab the frame? For Linux, what method is used (I assume X11 related)?

Thanks. :)

ZeoWorks avatar Dec 26 '22 20:12 ZeoWorks

On Windows, we use https://github.com/kbinani/screenshot, so please check kbinani/screenshot for details. On Linux, we use XShm API (https://www.x.org/releases/X11R7.5/doc/Xext/mit-shm.html) for better performance.

at-wat avatar Dec 27 '22 00:12 at-wat

Hi, is there no way we could have Desktop Duplication working for Windows? It is much faster and better than GDI, thanks! -Sean

ZeoWorks avatar Sep 23 '23 21:09 ZeoWorks