Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like sndcpy doesn't work with apps that have In-call volume function inside it. #257

Open
pqnhan opened this issue Jan 7, 2023 · 7 comments

Comments

@pqnhan
Copy link

pqnhan commented Jan 7, 2023

I've tried with a bunch of apps,
I've noticed: if I use a media player right inside the app (like Youtube, VLC, Podcast) everything works fine, with a slight lag (range 1 - 1.5s).
But if I use video conferencing, video/voice calling, streaming apps (like Discord, Zoom, Hilokal, or even Google Chrome using websites that require microphone,...) it seems to sndcpy inactive.

I don't know what is the cause here? Will I be able to stream from those apps from my phone to my Ubuntu?

@rom1v
Copy link
Owner

rom1v commented Jan 7, 2023

Only some apps authorize their audio to be captured: https://github.com/rom1v/sndcpy#apps-restrictions

@pqnhan
Copy link
Author

pqnhan commented Jan 8, 2023

@rom1v Is there anyway to patch the manifest.xml files of apps directly from Android?

I mean, if I patch those apps with android:allowAudioPlaybackCapture="true" , will sndcpy work?

@pqnhan
Copy link
Author

pqnhan commented Jan 8, 2023

It seems that forwarding audio with bluetooth pair also doesn't quite work on some apps, for example with Discord I can't hear any sound when I connect my Android phone to my Ubuntu 20.04, but Youtube still does.

@mansoorbarri
Copy link

Only some apps authorize their audio to be captured: https://github.com/rom1v/sndcpy#apps-restrictions

i don't really understand this step, what am i doing here?

@cybr47
Copy link

cybr47 commented Aug 28, 2023

It seems that forwarding audio with bluetooth pair also doesn't quite work on some apps, for example with Discord I can't hear any sound when I connect my Android phone to my Ubuntu 20.04, but Youtube still does.

Were you abe to find any fix?

@directentis1
Copy link

@cybr47 Hmm, I guess to be able to capture the in-call volume you must have root access on the Android device and you must use virtual loopback to capture the audio streaming and send it via sndcpy or some other application that streams audio from your phone.

@directentis1
Copy link

directentis1 commented Nov 14, 2023

#86 Not a new problem, but is there any possible solution? 🤔️

Like this, use for call-recording?
https://github.com/NLLAPPS/ACRPhoneHelper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants