Open Shuatome opened 1 month ago
scrcpy --audio-dup stoped working
Which Android app?
Android apps can opt-out (so they are not captured).
https://github.com/Genymobile/scrcpy/blob/master/doc/audio.md#duplication
Its AFK journey and Shattered pixel dungeon.
Does it work with other apps?
It worked in Pokemon Unite I don't have any more apps
OK so is just the apps which opt-out. That's "expected".
Can you tell me, how to check if apps are opt-out? And one other thing, is it OBS's problem that It can't see my SCRCPY as a game capture.
Can you tell me, how to check if apps are opt-out?
You could decompile the apk and check the flags in the manifest: https://developer.android.com/media/platform/av-capture#capture_policy
But simpler: if it is correctly forwarded with the default audio forwarding method, but not with the playback audio source, while you correctly get audio for other apps in both modes, then your app is refusing audio capture.
Thanks how about the OBS thing with SCRCPY?
C:\Users\Shua_me\Desktop\scrcpy-win64-v2.7>scrcpy --audio-source=playback scrcpy 2.7 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (tcpip) 192.168.1.6:5555 device ASUS_AI2401_D C:\Users\Shua_me\Desktop\scrcpy-win64-v2.7\scrcpy-server: 1 file pushed, 0 skipped. 50.0 MB/s (71200 bytes in 0.001s) [server] INFO: Device: [asus] asus ASUS_AI2401_D (Android 14) INFO: Renderer: direct3d INFO: Texture: 1080x2400
C:\Users\Shua_me\Desktop\scrcpy-win64-v2.7>scrcpy --audio-dup scrcpy 2.7 https://github.com/Genymobile/scrcpy INFO: Audio duplication enabled: audio source switched to "playback" INFO: ADB device found: INFO: --> (tcpip) 192.168.1.6:5555 device ASUS_AI2401_D C:\Users\Shua_me\Desktop\scrcpy-win64-v2.7\scrcpy-server: 1 file pushed, 0 skipped. 20.5 MB/s (71200 bytes in 0.003s) [server] INFO: Device: [asus] asus ASUS_AI2401_D (Android 14) INFO: Renderer: direct3d INFO: Texture: 1080x2400