Skip to content

Microphone playback issue and feature request #6297

@Yousef-K-A

Description

@Yousef-K-A

Environment

  • OS: Windows 10
  • Scrcpy version: 3.3.1
  • Installation method: Windows release
  • Device model: Xiaomi redmi 9
  • Android version: 12

Bug description

Hello.
When I run

scrcpy --no-window --audio-source=mic --audio-buffer=100 --audio-bit-rate=32000

everything works flawlessly. However, after I unlock and then lock my phone for the first time, the audio playback starts cutting in and out intermittently.
I tried recording the audio using the app to demonstrate the issue, but the recorded file sounded fine. So I used a screen recorder to capture the distorted audio. Here is a sample audio:

sample.mp3

Request

It would be great if there was a way to use the phone's microphone for computer. I reviewed other users' suggestions but could not find a straightforward answer.
I understand this app is not designed for this use case and I'm aware there are other apps that can do it but those ones require phone-side app installation, use internet traffic and more device resources, and have more latency. So please consider adding a feature to achieve this goal (for example, a parameter to select the app's audio output device to route it to a virtual microphone).
Currently I use the Windows settings to set the application's audio output device to VB Audio Cable but this resets every time I close the app.
I would be happy if other users who use a simpler method could help me.

Thanks for your great app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions