-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Why your adb shell cmd execute so fast? #231
Comments
Because I don't use When you execute
All of this is executed for every In scrcpy, only 1 Java process is started (the server) for the whole session. This process opens a socket to communicate with the client. The client sends every input event over this socket (using a custom protocol). The server receives and handle these events immediately. |
@rom1v |
So how can I use ADB command to reuse the java process for the whole session ? I am using python to execute adb command and I search for a long time to solve the delay problem with ADB. |
You can use |
Can you please share code? Or some referances? |
While I execute an adb comand like("adb shell input tap 100 100") in Command prompt window, it almost have 1 second delay in my phone.
So could you tell me the key to improve the execution speed? Thanks.
The text was updated successfully, but these errors were encountered: