Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does screen capture work on Windows vs Linux? #461

Open
ZeoWorks opened this issue Dec 26, 2022 · 2 comments
Open

How does screen capture work on Windows vs Linux? #461

ZeoWorks opened this issue Dec 26, 2022 · 2 comments
Labels
question Further information is requested

Comments

@ZeoWorks
Copy link

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. :)

@at-wat
Copy link
Member

at-wat commented Dec 27, 2022

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 at-wat added the question Further information is requested label Dec 27, 2022
@ZeoWorks
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants