-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Audio no sound (Add asio support) #3762
Comments
Same issue here ... i have running a docker server instance where my pc (win10 and rustdesk 1.1.9) and my smartphone (from playstore) connected.... i cant hear on the android phone no playback from audio ... in anydesk the audio works in comparison. |
Please try out the nightly build tomorrow. controlled side is affected |
i tried the nightly |
it is still old build, new build is ready 3 hours later. |
still no sound there :( |
Which device is the controlled one, android or windows? |
i control with a android phone my windows 10 machine ... anydesk runs fine with sound |
when i control the android phone audio wont work too ... i gave all the access control but no sound from android ... so both ways make problems |
I have been using the latest nightly build version on my end, but there haven't been any changes. |
inside my lan i have now sound between all devices i will try if it works also outside my lan next week on my laptop at work |
No luck then, we will wait for anothor our Windows to reproduce no sound problem. android side is in low priority. |
Using nightly on both controlled and controller, I still cannot hear macOS audio.
|
Just to add on, the default format for the Default device - Astro MixAmp Pro Game is 6 Channel 16 Bit 48000Hz, and the default format for the Default communication device - Astro MixAmp Pro Voice is 2 Channel 16 Bit 48000Hz. I'm not sure if this is related to the issue. Also, when other remote devices connect to my computer, they can't hear any sound. By the way, currently my audio device is connected to my PC via USB → ASTRO MixAmp Pro TR → speakers and headphone/microphone. |
https://github.com/21pages/test/releases/download/test/cpal_enumerate.exe |
|
No sound for me, either, and I've tried nearly every nightly version for the past couple months:
|
The program can log on the two computers, the log is in D:/log.txt, you can look at the log against this commit rustdesk/src/server/audio_service.rs Line 388 in f7db945
Line 879 in f7db945
|
|
In this first log, the host have 6 channels(from calculation), but encoder can only be created with one or two channels. rustdesk/src/server/audio_service.rs Line 273 in a797e4e
https://github.com/xiph/opus/blob/8cf872a186b96085b1bb3a547afd598354ebeb87/src/opus_encoder.c#L521 |
How many channels are there on the other end ? |
This program will do audio rechannel on both sides, ranging from 1 to 8, replace old programs with channel numbers greater than 2, read log again this commit |
https://pastebin.com/d4xC07eb I can hear the sound now! |
@rustdesk i got these logs. |
V1.2.2 no sound |
/bounty $100 |
💎 $100 bounty • RustDeskSteps to solve:
Thank you for contributing to rustdesk/rustdesk! |
How can we add Cpal with Asio to Rustdesk? |
What does this mean? is Asio good or not good for you? |
I use Asio exclusively - my default Windows output is routed into VoiceMeeter, where I can mix multiple streams of audio, then out to speakers. I used Teamviewer to capture the Asio audio from VoiceMeeter on the Remote computer: I could control it, get its Asio stream, and hear it from my computer.
Tested just now from my Android 12 Go Edition $40 tablet into Windows 10 Pro machine. |
Thanks @eddiemorris we will add asio support on Windows in the future. To date 2024-02-14, we do not start yet. Please do not ask when. |
No sound on control pc (win 11) coming from remote win 10. |
Not sound between Windows 11 machines (control and remote). I'm on version 1.2.3-2. Used to work when controlling Windows 10 from Windows 11. |
Bug Description
When I connect to remote machines, I am unable to hear the audio playback from those machines.
I have enabled the following settings in my playback device:
Default device: Astro MixAmp Pro Game
Default communication device: Astro MixAmp Pro Voice
If the default device is set to Astro MixAmp Pro Game, I will not be able to hear the audio playback from remote machines. However, if the default device is set to Astro MixAmp Pro Voice, I will be able to hear the audio playback from remote machines. Even if I use the default High Definition Audio Device, I can still hear the audio playback from remote machines.
Even if I directly configure the audio input device in RustDesk, it does not work.
It is important to note that when using other remote desktop connections (such as AnyDesk, Teamviewer, etc.), I am able to hear the audio playback from remote machines.
The only way to fix this issue is by changing the Windows playback device settings.
However, due to some reasons, I do not want to switch to other audio input devices to resolve this problem.
I am looking for a better solution to fix this issue.
How to Reproduce
Expected Behavior
I should hear the sound as I do with AnyDesk / Teamviewer connect remote machines.
Operating system(s) on local side and remote side
Windows 10 22H2, Windows 11 22H2
RustDesk Version(s) on local side and remote side
1.1.9, 1.2.0 Nightly Build
Screenshots
No screenshots
Additional Context
No response
Upvote & Fund
The text was updated successfully, but these errors were encountered: