Romain Vimont

Results 2060 comments of Romain Vimont

> will need to turn off XIAOMI MIUI optimization in the phone setting developer option and restart, That may not be the cause for this: > ERROR: Could not open...

You could try with yet another driver: https://wiki.libsdl.org/SDL2/FAQUsingSDL#win32_1 The WASAPI issue will be fixed in the future version of SDL (which will be included in a future version of scrcpy).

Then read https://github.com/Genymobile/scrcpy/issues/3856#issuecomment-1482911664

> could not open audio device: wasapi can't find requested audio endpoint: no se ha encontrado el elemento. error: demuxer error Which scrcpy version? Try the latest, currently v2.1.1 (which...

Does it work if you use directsound instead of wasapi? https://github.com/Genymobile/scrcpy/issues/3856#issuecomment-1482911664

> starting scrcpy from CMD close within less than 1 sec What is the console output?

And with `set SDL_AUDIODRIVER=directsound` just before `scrcpy`? (you should not get any WASAPI error message)

> There is a way yo start scrcpy without audio? Of course: `scrcpy --no-audio`. https://github.com/Genymobile/scrcpy/blob/master/doc/audio.md#no-audio

> For next version would be nice of scrcpy automatically detect if no audio device so take correct action to no fail There is a mechanism to disable audio if...

Not automatically: https://github.com/Genymobile/scrcpy/issues/4800#issuecomment-2028754860 You must pass `--no-audio-playback` explicitly.