scrcpy: ERROR: Could not open audio device: WASAPI can't initialize audio client

Environment

  • OS: Win 7 x64
  • scrcpy version: 2.0
  • installation method: Windows release
  • device model: Samsung Galaxy A
  • Android version: 12

Hi, I tried the new v2.0, and after of display the android desktop, it shows: ERROR: Could not open audio device: WASAPI can't initialize audio client: No se ha llamado a CoInitialize. ERROR: Demuxer error WARN: Killing the server... And then it closes, Disabling the audio with “scrcpy --no-audio” works. Cheers.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15

Most upvoted comments

Could you try to force an audio driver:

set SDL_AUDIODRIVER=directsound
scrcpy

Or

set SDL_AUDIODRIVER=winmm
scrcpy

?