You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
My screen mirrored perfectly fine but there is problem with the audio, it keeps error when i start it.
scrcpy 2.3.1 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (usb) 10DD730ATL000CH device I2213
C:\Mirroring Pack\scrcpy-win64-v2.3.1\scrcpy-server: 1 file pushed, 0 skipped. 54.1 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [vivo] iQOO I2213 (Android 14)
INFO: Renderer: direct3d
INFO: Texture: 1080x2384
[server] ERROR: Failed to invoke AudioRecord..
java.lang.NoSuchMethodException: android.media.AudioRecord.native_setup [class java.lang.Object, class java.lang.Object, class [I, int, int, int, int, class [I, class android.os.Parcel, long, int]
at java.lang.Class.getMethod(Class.java:2937)
at java.lang.Class.getDeclaredMethod(Class.java:2914)
at com.genymobile.scrcpy.Workarounds.createAudioRecord(Workarounds.java:293)
W at com.genymobile.scrcpy.AudioCapture.startRecording(AudioCapture.java:116)
at com.genymobile.scrcpy.AudioCapture.start(AudioCapture.java:130)
at com.genymobile.scrcpy.AudioEncoder.encode(AudioEncoder.java:190)
at com.genymobile.scrcpy.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-AudioEncoder(AudioEncoder.java:121)
at com.genymobile.scrcpy.AudioEncoder$$ExternalSyntheticLambda1.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:1012)
A[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
java.lang.RuntimeException: Cannot create AudioRecord
at com.genymobile.scrcpy.Workarounds.createAudioRecord(Workarounds.java:324)
at com.genymobile.scrcpy.AudioCapture.startRecording(AudioCapture.java:116)
at com.genymobile.scrcpy.AudioCapture.start(AudioCapture.java:130)
at com.genymobile.scrcpy.AudioEncoder.encode(AudioEncoder.java:190)
at com.genymobile.scrcpy.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-AudioEncoder(AudioEncoder.java:121)
at com.genymobile.scrcpy.AudioEncoder$$ExternalSyntheticLambda1.run(Unknown Source:4)
R at java.lang.Thread.run(Thread.java:1012)
N: Demuxer 'audio': stream explicitly disabled by the device
The text was updated successfully, but these errors were encountered:
Environment
Describe the bug
My screen mirrored perfectly fine but there is problem with the audio, it keeps error when i start it.
scrcpy 2.3.1 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (usb) 10DD730ATL000CH device I2213
C:\Mirroring Pack\scrcpy-win64-v2.3.1\scrcpy-server: 1 file pushed, 0 skipped. 54.1 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [vivo] iQOO I2213 (Android 14)
INFO: Renderer: direct3d
INFO: Texture: 1080x2384
[server] ERROR: Failed to invoke AudioRecord..
java.lang.NoSuchMethodException: android.media.AudioRecord.native_setup [class java.lang.Object, class java.lang.Object, class [I, int, int, int, int, class [I, class android.os.Parcel, long, int]
at java.lang.Class.getMethod(Class.java:2937)
at java.lang.Class.getDeclaredMethod(Class.java:2914)
at com.genymobile.scrcpy.Workarounds.createAudioRecord(Workarounds.java:293)
W at com.genymobile.scrcpy.AudioCapture.startRecording(AudioCapture.java:116)
at com.genymobile.scrcpy.AudioCapture.start(AudioCapture.java:130)
at com.genymobile.scrcpy.AudioEncoder.encode(AudioEncoder.java:190)
at com.genymobile.scrcpy.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-AudioEncoder(AudioEncoder.java:121)
at com.genymobile.scrcpy.AudioEncoder$$ExternalSyntheticLambda1.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:1012)
A[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
java.lang.RuntimeException: Cannot create AudioRecord
at com.genymobile.scrcpy.Workarounds.createAudioRecord(Workarounds.java:324)
at com.genymobile.scrcpy.AudioCapture.startRecording(AudioCapture.java:116)
at com.genymobile.scrcpy.AudioCapture.start(AudioCapture.java:130)
at com.genymobile.scrcpy.AudioEncoder.encode(AudioEncoder.java:190)
at com.genymobile.scrcpy.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-AudioEncoder(AudioEncoder.java:121)
at com.genymobile.scrcpy.AudioEncoder$$ExternalSyntheticLambda1.run(Unknown Source:4)
R at java.lang.Thread.run(Thread.java:1012)
N: Demuxer 'audio': stream explicitly disabled by the device
The text was updated successfully, but these errors were encountered: