-
Notifications
You must be signed in to change notification settings - Fork 54
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
Can Screen Capture be improved? #23
Comments
hi @vuduong1124 |
(Well, I just tried this library out, I have been using python and an adb library for python before but wanted to give this library a shot). About the tutorial not being correct, I assume you're reffering to the examples and that you get an error that You can do either of this to get around this problem and make the compiler happy: Image image = (Image) client.GetFrameBufferAsync(device, CancellationToken.None).GetAwaiter().GetResult(); or Image image = client.GetFrameBufferAsync(device, CancellationToken.None).GetAwaiter().GetResult().ToImage(); This will, in theory, make it work - I assume this is the intended way to do it. However, I get an exception when I execute the above code, trying to grab a screenshot (from a device with verified working ADB connection). The I can see in the source code of the library where it does this but I haven't tried to understand why this happen. Also noted that there's no unit test implemented for |
Nice one! Started diggin into the workings and realized there were plenty of stuff probably missing. Interesting to see what it actually was. Great work! |
It is good, Do you have plan to include this commit in release version. |
Describe your feature request
Is it possible to capture screen devices faster?Feature title
Specifically, it currently takes 180 ~ 200ms for 1 screen capture
How important is this to you?
Nice-to-have
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: