Romain Vimont

Results 2060 comments of Romain Vimont

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mouse-and-keyboard-do-not-work ?

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mouse-and-keyboard-do-not-work

No, and it's not trivial to enable/disable audio forwarding dynamically (recording is impacted, it must know in advance if there is an audio stream because it must write the header...

@Dixiegamer Run `scrcpy --no-audio` (if I understand correctly, please write in English)

Try manually: ``` adb push scrcpy-server /data/local/tmp/scrcpy-server.jar ``` What is the result? What is the output of: ``` adb shell ls -l /data/local/tmp/ ```

So the problem only occurs in real-time playback, but not recording via `scrcpy --record`. Please run `scrcpy -Vverbose` and post the output when the sound is "robotic".

Wow, that's weird :/ Here is a build with this diff: ```diff diff --git a/app/src/audio_player.c b/app/src/audio_player.c index bba39acbf..fb80d8525 100644 --- a/app/src/audio_player.c +++ b/app/src/audio_player.c @@ -5,7 +5,7 @@ #include "util/log.h" -#define...

The audio callback is not called frequently enough by SDL to consume the samples. Let's try with a bigger audio output buffer: ```diff diff --git a/app/src/audio_player.c b/app/src/audio_player.c index bba39acbf..1f2614dd1 100644...

I think I will keep 5ms by default, but add an option (e.g. `--audio-output-buffer=10`) to adjust it when necessary.

I submitted an issue on SDL to get more feedback about the problem: https://github.com/libsdl-org/SDL/issues/7450