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

PC mic not working on Discord when using scrcpy #1814

Closed
alv09 opened this issue Oct 8, 2020 · 9 comments
Closed

PC mic not working on Discord when using scrcpy #1814

alv09 opened this issue Oct 8, 2020 · 9 comments

Comments

@alv09
Copy link

alv09 commented Oct 8, 2020

I'm mirroring my android screen to my PC and sharing my PC screen through Discord while talking with my friends. The PC mic stops workings when doing that.

Update: when I'm in a Discord voice chat and I launch scrcpy my mic stops working and I can't talk. But if I leave the channel and re-enter mic starts working again. I use Discord a lot with a lot of different games and this only happens when using scrcpy.

Any ideas?

@rom1v
Copy link
Collaborator

rom1v commented Oct 8, 2020

scrcpy does not do audio at all, so it's weird.

@Uj947nXmRqV2nRaWshKtHzTvckUUpD

it s unrelated with scrcpy. looks like something in discord to me or your audio settings

@alv09
Copy link
Author

alv09 commented Oct 10, 2020

Update: when I'm in a Discord voice chat and I launch scrcpy my mic stops working and I can't talk. But if I leave the channel and re-enter mic starts working again. I use Discord a lot with a lot of different games and this only happens when using scrcpy.

@alv09 alv09 changed the title PC mic not working when using scrcpy PC mic not working on Discord when using scrcpy Oct 10, 2020
@rom1v
Copy link
Collaborator

rom1v commented Oct 10, 2020

Might be caused by the SDL initialization?

if (SDL_Init(flags)) {

Could you just add a sleep() after this call to see if your micro stops working after that.

@Uj947nXmRqV2nRaWshKtHzTvckUUpD

Update: when I'm in a Discord voice chat and I launch scrcpy my mic stops working and I can't talk. But if I leave the channel and re-enter mic starts working again. I use Discord a lot with a lot of different games and this only happens when using scrcpy.

I tried the same and for me mic continues working after I start sndcpy while I am in a discord voice chat.
You could try going to discord settings> voice & video> Input device > and selecting your microhpone from the list instead of leaving the Default one

@alv09
Copy link
Author

alv09 commented Oct 11, 2020

First, thank you all for your answers.

I have download and tried Samsung Flow, it also mirror my phone screen via USB and I have the same problem, so it must be something related with my USB ports. When I mirror the phone via Wifi I dont have any problem. Sorry and thank you :)

@alv09 alv09 closed this as completed Oct 11, 2020
@Weebs4235632
Copy link

Hi, I know this post is already completed, but i was hoping someone can help me with my problem.
Screenshot 2024-03-11 013620
I am using Scrcpy 2.4 <android 14>. When I hop off voice call, audio forwarding to my headset works again. Please and thank you.

@rom1v
Copy link
Collaborator

rom1v commented Mar 11, 2024

See #4087

@Weebs4235632
Copy link

Thanks for the response, just went and check the other post you mention. So does that mean theres no way to audio forward voice calls?

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