Open
Description
Please read the prerequisites to run scrcpy.
Also read the FAQ and check if your issue already exists.
Environment
- OS: Windows 11 24H2 (11.0.26100.4061)
- Scrcpy version: 3.2
- Installation method: Windows release
- Device model: Google Pixel 8a
- Android version: 16 QPR1 Beta 1
Describe the bug
I received the Android 16 QPR1 Beta 1 update on my Pixel and after updating, I noticed that in version 3.2 of scrcpy the audio is not transmitted to the PC, but is still heard on the phone and the console throws an exception because of this.
With what I have tested, it seems that this is the only problem I have found, besides I do not know if it also affects the first release of Android 16.
C:\Users\SERIGRAFIA>scrcpy
scrcpy 3.2 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) 42011JEKB19977 device Pixel_8a
C:\adb\scrcpy-server: 1 file pushed, 0 skipped. 6.9 MB/s (90888 bytes in 0.013s)
[server] INFO: Device: [Google] google Pixel 8a (Android 16)
INFO: Renderer: direct3d
INFO: Texture: 1080x2400
WARN: Demuxer 'audio': stream explicitly disabled by the device
[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
java.lang.UnsupportedOperationException: Cannot create AudioRecord
at android.media.AudioRecord$Builder.build(AudioRecord.java:1061)
at com.genymobile.scrcpy.FakeContext$$ExternalSyntheticApiModelOutline0.m(D8$$SyntheticClass:0)
at com.genymobile.scrcpy.audio.AudioDirectCapture.createAudioRecord(AudioDirectCapture.java:53)
at com.genymobile.scrcpy.audio.AudioDirectCapture.startRecording(AudioDirectCapture.java:96)
at com.genymobile.scrcpy.audio.AudioDirectCapture.start(AudioDirectCapture.java:125)
at com.genymobile.scrcpy.audio.AudioEncoder.encode(AudioEncoder.java:235)
at com.genymobile.scrcpy.audio.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-audio-AudioEncoder(AudioEncoder.java:158)
at com.genymobile.scrcpy.audio.AudioEncoder$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:1119)
Metadata
Metadata
Assignees
Labels
No labels