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

Disable audio instead of aborting #5371

Open
dilyanpalauzov opened this issue Oct 12, 2024 · 1 comment
Open

Disable audio instead of aborting #5371

dilyanpalauzov opened this issue Oct 12, 2024 · 1 comment

Comments

@dilyanpalauzov
Copy link

When I execute scrcpy, it prints

scrcpy 2.7 <https://github.com/Genymobile/scrcpy>
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
INFO: ADB device found:
INFO:     -->   (usb)  ZY22GCTXNV                      device  motorola_edge_30
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 58.4 MB/s (71200 bytes in 0.001s)
[server] INFO: Device: [motorola] motorola motorola edge 30 (Android 14)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.1.7
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2400
ERROR: Could not open audio device: ALSA: Couldn't open audio device: Host is down
ERROR: Demuxer error

but if I instead call scrcpy --no-audio then it works.

When audio does not work, as above, scrpcy should either suggest to use --no-audio, or even better it should assume that --no-audio was provided and go forward.

@rom1v
Copy link
Collaborator

rom1v commented Oct 12, 2024

See #4800 (comment)

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