Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
109.71k stars 10.54k forks source link

Audio outputting on phone instead of PC #4968

Open jeronimd opened 3 months ago

jeronimd commented 3 months ago

Environment

Describe the bug

I am experiencing an issue with audio routing when using the ChatGPT app on my mirrored Android device. While other apps (e.g., Firefox) route audio correctly to my computer, the ChatGPT app's audio is played on my phone instead of my computer. The situation is simular to this one, however the audio output does not change. I'm not sure but it might be doe to the microphone?

(I'm not trying to record anything)

scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  3f1485f0                        device  2112123AG
DEBUG: Device serial: 3f1485f0
DEBUG: Using server (portable): C:\Users\Uman\Downloads\scrcpy-win64-v2.4\scrcpy-win64-v2.4\scrcpy-server
C:\Users\Uman\Downloads\scrcpy-win64-v2.4\scrcpy-win64-v2.... file pushed, 0 skipped. 60.8 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [Xiaomi] Xiaomi 2112123AG (Android 13)
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
[server] DEBUG: Using video encoder: 'OMX.qcom.video.encoder.avc'
[server] DEBUG: Using audio encoder: 'c2.android.opus.encoder'
[server] DEBUG: Display: using SurfaceControl API
INFO: Renderer: direct3d
DEBUG: Trilinear filtering disabled (not an OpenGL renderer)
DEBUG: Using icon (portable): C:\Users\Uman\Downloads\scrcpy-win64-v2.4\scrcpy-win64-v2.4\icon.png
DEBUG: Demuxer 'video': starting thread
DEBUG: Demuxer 'audio': starting thread
INFO: Texture: 1080x2400
FlashlightET commented 3 months ago

same