Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.34k stars 10.67k forks source link

Cant use audio #4312

Open BlueToadMakerr opened 1 year ago

BlueToadMakerr commented 1 year ago

when i try to use audio this happens username@penguin:~$ scrcpy --require-audio scrcpy: unrecognized option '--require-audio' I'm using android 11 and ChromeOS for linux

rom1v commented 1 year ago

Audio is enabled by default, you don't need --require-audio.

The problem is your scrcpy version (scrcpy --version), audio was introduced in v2.0.

miho1109 commented 1 year ago

I still can't hear anything when using Bluetooth earphones (connected to my phone and I play music on it), I'm using the latest app version. Do you know why?

Persepolite commented 1 year ago

I'm having the same issue. Even when I disconnect from scrcpy, the phone doesn't have no audio and audio slider are greyed out

miho1109 commented 1 year ago

I ran this command "scrcpy --no-audio" and then I could hear sound from my Bluetooth earphones again. Maybe the sound forwarding had a problem.

rom1v commented 1 year ago

Yes, when audio is forwarded to bluetooth, it is not forwarded to scrcpy.

It is the Android behavior when capturing the "remote submix" audio source. See #4083.