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

Androd -> MacOS - Audio garbled after first connection, Android app software error and force close (sometimes) #7125

Open
larryqiann opened this issue Feb 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@larryqiann
Copy link

larryqiann commented Feb 13, 2024

Bug Description

When a macOS host is set to stream audio from a device and a session is started, the audio is played normally on the receiving Android phone. After about ten seconds, the Android app will either crash and force close, or the connection will fail with a "software error". (sometimes)

When the connection is recreated, the audio has extreme distortion and noise (sounds like electrical arc welding), and the session will close or there will be a software error on the Android side within a 20 seconds. (sometimes)

This problem is only experienced when there is audio playing on the macOS host device.

Restarting the Rust Desk remote (server) side will reset the audio for the next session.

How to Reproduce

  1. Install latest (as of filing) nightlies on both Android phone and the macOS device
  2. Set up audio device for sound on host macOS device
  3. Make a connection to the Android device and play audio on the macOS device
  4. Observe the sound operating normally
  5. Disconnect the session
  6. Reestablish the session
  7. Play audio on the remote macOS device
  8. Observe error
  9. Restart the macOS Rustdesk software and reattempt the test, observe that the audio is normal for one session again

Expected Behavior

When the client is connected to the server, both the first and subsequent times, the connection will be stable and audio will be transferred without noise or distortion in a stable way

Operating system(s) on local side and remote side

Android -> macOS

RustDesk Version(s) on local side and remote side

1.2.4 1.2.4

Screenshots

CleanShot 2024-02-13 at 13 02 26

Additional Context

No response

@larryqiann larryqiann added the bug Something isn't working label Feb 13, 2024
@rustdesk
Copy link
Owner

rustdesk commented Feb 14, 2024

@21pages follow up, I can hear the garbled sound also.

@rustdesk
Copy link
Owner

rustdesk commented Feb 14, 2024

Not sure if it is related to my upgrade to latest osx, I do not see this before, only see this after upgrade to latest osx 14.3.1

@larryqiann
Copy link
Author

Not sure if it is related to my upgrade to latest osx, I do not see this before, only see this after upgrade to latest osx 14.3.1

The last time I tested this was in Ventura, last year in around June-July. I don't remember if I opened an issue about it, but the problem is the same.

It sounds like to me that there is some lag in getting the samples all played out. During the garbled sound, the latency slowly gets longer and longer, and there is at least several seconds of garbled audio for every second of input audio.

@rustdesk rustdesk changed the title macOS Host - Android Client - Audio garbled after first connection, Android app software error and force close (sometimes) Androd -> MacOS - Audio garbled after first connection, Android app software error and force close (sometimes) Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants