Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.72k stars 10.7k forks source link

Android 10 audio routing to pc using root - FEATURE REQUEST #4094

Open StylishBoyGaming opened 1 year ago

StylishBoyGaming commented 1 year ago

can you implement routing android 10 audio to pc using root method by giving root access to sndcpy . i saw a app using same method https://play.google.com/store/apps/details?id=app.airmusic.pro for sending audio but problem is with this app latency of 2 second . if you do this it will be very helpful to me.

yume-chan commented 1 year ago

Have you tried the app? Does It have the same permission request popup as SndCpy, but can capture audio from protected apps like Spotify on rooted device? Or does it let you choose between root mode and Media Projection (permission request popup) mode manually?

SndCpy uses Media Projection and supports audio forwarding on non-root devices. Scrcpy can't use Media Projection because Scrcpy is not an Android app.

StylishBoyGaming commented 1 year ago

Have you tried the app? Does It have the same permission request popup as SndCpy, but can capture audio from protected apps like Spotify on rooted device? Or does it let you choose between root mode and Media Projection (permission request popup) mode manually?

SndCpy uses Media Projection and supports audio forwarding on non-root devices. Scrcpy can't use Media Projection because Scrcpy is not an Android app.

Bro this app can capture media audio device and also can capture audio from protected apps I used it trial version from playstore ,it's doesn't show any popup of recording, it just need root access It doesn't depend on Android 10 audio policy Screenshot_20230620-070939