Comments (16)
Remove -Idummy
here to see if there is a problem with VLC:
Line 25 in f0995ca
from sndcpy.
Have tried multiple apps, all nothing.
Did you try youtube and VLC for Android? They are known to forward audio correctly.
from sndcpy.
Just updated my device from a Xiaomi Mi Mix 2 to a Pixel 4a. Mi Mix 2 was on LineageOS 17 (android 10), Pixel 4a is on official android 11. Audio works with pixel 4a, with my same FFmpeg configuration, still doesn't work on my Mi Mix 2. It could be a limitation of the hardware or a software bug, not sure. @rom1v , if there is a way I can run a detailed log for you if you'd like to compare, let me know, I'd be happy to help.
from sndcpy.
Having the same problem, tried removing the -Idummy flag and VLC is indeed opening, it's connecting to a stream, CTRL+M isn't showing any errors or messages, but there is no audio. Have tried multiple apps, all nothing.
from sndcpy.
Have tried multiple apps, all nothing.
Did you try youtube and VLC for Android? They are known to forward audio correctly.
Nothing from either YouTube or VLC unfortunately. Everything seems to be running on Android properly as far as I can tell, I've got a Mi Mix 2 (chiron) on Lineage OS 17.1 which is an Android 10 rom. Any kind of detailed log I could gather to help troubleshoot this either on the PC or Android side of things?
P.S. for what it's worth, srccpy is working perfectly fine via USB, it's just the sndcpy part I'm struggling with
P.P.S. for the sake of science, I tried the ffplay suggestion another user had in a different thread and modified the batch file to use that instead. It LOOKS like it's doing stuff and configured properly, but I'm also not that experienced with ffplay and not a dev, more of a "power user" that is decent enough at troubleshooting and testing variables. I included a screenshot of the command prompt window I was using for this to see if it helps anything. I still wasn't actually hearing anything on my PC and I did of course make sure I was using the default audio device and that other applications were capable of outputting audio. I could hear audio from the phone speaker, but nothing coming through the PC. I'm wondering if there is simply some bug or limitation on my phone that is preventing the audio
from sndcpy.
I am getting sound from other streaming apps except from VLC when i try to play from local audio/video, tried to remove -Idummy flag still same, using from device Realme 3 Pro... logs from terminal and i see no errors either
Waiting for device...
Success
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.rom1v.sndcpy/.MainActivity }
Press Enter once audio capture is authorized on the device to start playing...
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
[00005640132028b0] dummy interface: using the dummy interface module...
from sndcpy.
VLC seems playing, but no sound on the computer
from sndcpy.
Are u able to hear from YT and other streaming apps?
from sndcpy.
i met the same as janlely ,
from sndcpy.
@Tyr808 Thank you for your help.
However, sndcpy just uses the Playback capture API provided by the system.
The fact that it works on some devices or for some apps but not on others is an implementation issue of this API (by the device system), so there's nothing sndcpy could fix.
from sndcpy.
- I guess it works for Android 11 and forward. I had the same challenges using Android 10 and previous versions.
- Taking out the -Idummy in the .bat file helped too.
- Ensure you are using the correct installation files: especially WINDOWS users, the adb is necessary!
- In Android studio, it's easier to have only one device at a time running!
from sndcpy.
Just updated my device from a Xiaomi Mi Mix 2 to a Pixel 4a. Mi Mix 2 was on LineageOS 17 (android 10), Pixel 4a is on official android 11. Audio works with pixel 4a, with my same FFmpeg configuration, still doesn't work on my Mi Mix 2. It could be a limitation of the hardware or a software bug, not sure. @rom1v , if there is a way I can run a detailed log for you if you'd like to compare, let me know, I'd be happy to help.
@Tyr808 do you have the link to the modified batch file with ffplay?
from sndcpy.
removing -Idummy and CHANGING VLC path to it's x86 folder ("C:\Program Files (x86)\VideoLAN\VLC\vlc.exe", and yes the default Program Files folder opened it as well, but not with sndcpy) did it for me.
And still Android Pie (9.0) here.
from sndcpy.
And still Android Pie (9.0) here.
Don't even try.
The Android device requires at least Android 10.
https://github.com/rom1v/sndcpy#requirements
from sndcpy.
And still Android Pie (9.0) here.
Don't even try.
The Android device requires at least Android 10.
Indeed, I updated it.
from sndcpy.
can i ask something
what's the problem of this error? I new on this and idk how to fix it
from sndcpy.
Related Issues (20)
- Change application id if not allowed to be installed on some devices for security issue. HOT 1
- Problem Parsing the Package
- Looks like sndcpy doesn't work with apps that have In-call volume function inside it. HOT 7
- is it possible to to passed microphone from the Host / Mac to Android ?
- 'C:\Program' is not recognized as an internal or external command
- Newbie Problems
- Phone tell
- audio forwarding is not working HOT 1
- miccpy? HOT 1
- How do i make a silent start for sndcpy?, (Not showing the console) HOT 1
- adb: failed to install sndcpy.apk: Security exception: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag HOT 2
- Waiting for device... HOT 2
- SNDCPY, adb: failed to stat sndcpy.apk: No such file or directory HOT 2
- can i ask something HOT 1
- Audio not working for android 10 HOT 4
- sndcpy does not transfer audio played by poweramp
- Got this issue with sndcpy. Also the app doesn't show up after being installed.
- Issue with Sndcpy, HOT 3
- Audio delay using sndcpy HOT 3
- scrcpy kills audio on tv (Firetv Stick 4k and LG tv) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sndcpy.