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

Identify and get RecorderParams.desktop_num of multiple displays #22

Open
hwcho11 opened this issue Apr 10, 2023 · 1 comment
Open

Identify and get RecorderParams.desktop_num of multiple displays #22

hwcho11 opened this issue Apr 10, 2023 · 1 comment

Comments

@hwcho11
Copy link

hwcho11 commented Apr 10, 2023

I had guessed that the order of desktop_num values is the same as the Identify order in the 'Display settings', or the get_monitors() order in the package 'screeninfo'.
However I only found that the primary display is always 0, and I don't know in what order the rest are numbered.
Could you tell me if there is a callable function from ScreenRecorder.dll that can get desktop_num and other key values corresponding to each displays or desktops?

@Andrey1994
Copy link
Owner

Andrey1994 commented Apr 12, 2023

here is a method which is used by this library behind the scene https://learn.microsoft.com/en-us/windows/win32/api/dxgi/nf-dxgi-idxgiadapter-enumoutputs

you are correct that 0 corresponds to the primary display

I dont know what get_monitors does and how it works

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

No branches or pull requests

2 participants