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

Audio issue #5143

Open
rahulbag3 opened this issue Jul 27, 2024 · 16 comments
Open

Audio issue #5143

rahulbag3 opened this issue Jul 27, 2024 · 16 comments

Comments

@rahulbag3
Copy link

i been using scrcpy for a week or two now, i use it to capture a game i play on my mobile to stream, i noticed when i turn on my mic in game on my phone the audio capture dosent work i just get the video on my pc, no game sound no mic sound, but in phone i get mic sound from teammate, as soon as i turn my mic off in phone it fixes itself, as a streamer i had to stream with game audio and as a gamer i had to talk with my teammates ,please guide my or if its a app issue im letting You know sir.tried with more then one phone!

game name - BGMI
windows 11
phone running android 14

@rom1v
Copy link
Collaborator

rom1v commented Jul 27, 2024

See #4084 #4087.

And #4087 (comment)

@Malok-003
Copy link

to com problema, quando vou entrar ele sai sosinho falando que deu problema no audio e logo em seguida aparece essa mensagem:

ERROR: Could not open audio device: WASAPI can't find requested audio endpoint: Elemento não encontrado.
ERROR: Demuxer error
WARN: Killing the server...
Press Enter to continue...

@rom1v
Copy link
Collaborator

rom1v commented Jul 30, 2024

@Malok-003 Which scrcpy version?

See #3825.

@rahulbag3
Copy link
Author

Sorry sir to disturb You again but does this mean the new update got my previous audio issue with mic on in game fixed by default or i have to do something else after to make it work?

@rom1v
Copy link
Collaborator

rom1v commented Aug 1, 2024

There is a new audio capture method, to be enabled by:

scrcpy --audio-source=playback

I'm not sure it will solve your issue, but it is worth trying.

@rahulbag3
Copy link
Author

If it didn't work how to revert back to default? Or if i just close the shell it'll revert back itself

@rom1v
Copy link
Collaborator

rom1v commented Aug 1, 2024

scrcpy does not store any state. Every time you start it, it only uses the parameters you pass.

@jokysatria
Copy link

image
image
I have same error. Already tried scrcpy --audio-source=playback

@jokysatria
Copy link

Update : after update to 2.6, now it works fine. tysm

@rahulbag3
Copy link
Author

Update : after update to 2.6, now it works fine. tysm

Command works but does the audio issue resolved?

@jokysatria
Copy link

I test it on discord mobile, it works fine. Not on game yet.

@rahulbag3
Copy link
Author

I test it on discord mobile, it works fine. Not on game yet.

Did You use the duplicate command or just playback?

@jokysatria
Copy link

just playback

@jokysatria
Copy link

Umm I found something wrong. So previously I only test the mic on discord, and it works fine. And to test audio playback, I play some YouTube video with discord mic still on, the audio output works as expected (it out from my computer). But when tried play jockey music on discord, the audio output come from my android not from my computer. So yeah, the problem still exist...

@rahulbag3
Copy link
Author

So it means when Uh push two channels of audio from the same app it bugs put chooses to play it on mobile instead

@rahulbag3
Copy link
Author

Do Uh know the app name douwan, it works perfectly and doesn't have this audio issue I have tried it, it even works fine on A12, but thats a paid app, i been using scrcpy for a month now , other then the audio issue I'm hooked ❤️
And a question ik its not a form bt anyone knows any opensource app like scrcpy for iOS?

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

4 participants