-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
--no-audio, error when exit terminal #4975
Comments
Please test with the official release (there were issues on the winget package).
Just to confirm: you're closing the scrcpy window, not the terminal directly? |
I am using scrcpy from here (scrcpy-win64-v2.4.zip) like portable version.
When I close scrpy window there is no error, only when I close terminal while scrcpy is on with parameter --no-audio I get error message. |
You should never close the terminal directly, it just kills the app abruptly. For example, if you record ( That being said, it should not crash ("has stopped working") the way it does. The problem is that I have no idea how to get a meaningful stacktrace to understand why it crashes. |
Environment
Describe the bug
I use in terminal command "scrcpy.exe --shortcut-mod=lctrl --stay-awake --always-on-top --no-audio --kill-adb-on-close"
for USB and WIFI connection.
When I click "x" on terminal with parameters from above I got error scrcpy.exe has stopped working (hang on while Windows reports the problem to Microsoft" and ADB.exe is not closed.
I have removed one by one parameter and noticed that error accrued only when I use "--no-audio" parameter.
When I click "x" on scrcpy, with "--no-audio", there is no error and adb.exe is killed on close.
I have also tried with "--no-audio-playback" but all is the same.
I am updating windows and programs with winget weekly and I have noticed this few days ago.
Hope that this information is helpful for some new scrcpy releases.
scrcpy.exe --shortcut-mod=lctrl --stay-awake --always-on-top --no-audio --kill-adb-on-close
scrcpy 2.4 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (usb) e20d4e91 device Mi_9T
C:\scrcpy-krle\scrcpy-server: 1 file pushed, 0 skipped. 45.8 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [Xiaomi] Xiaomi Mi 9T (Android 11)
INFO: Renderer: direct3d
INFO: Texture: 1080x2336
The text was updated successfully, but these errors were encountered: