Audio Output over Remote Desktop

9 visualizzazioni (ultimi 30 giorni)
Ze Feng Gan
Ze Feng Gan il 24 Ago 2023
Modificato: VINAYAK LUHA il 4 Set 2023
I would like to play audio (using the audioplayer function) via Remote Desktop Connection (from Windows 11 computer into Windows 10 computer).
When I call audiodevinfo, MATLAB R2022b tells me I have no audio output devices.
However, remote audio works fine otherwise for all applications, including the MATLAB beep function. WIndows' sound settings recognize my audio output device as "Remote Audio"
How can I add the Remote Audio output device to be recognized by MATLAB?

Risposte (1)

VINAYAK LUHA
VINAYAK LUHA il 4 Set 2023
Modificato: VINAYAK LUHA il 4 Set 2023
Hi Ze Feng,
To the best of my understanding the said “no audio output devices” issue is being faced while using MATLAB desktop on client Windows 10 system accessed through Microsoft Remote Desktop Connection app on the host Windows 11 system.
The issue can be resolved in the following steps-
  1. Ensure that you have remote audio input and output drivers installed on your remote machine. If not proceed with step 2 else jump directly to step 3.
2.Open the remote connection desktop app on your host machine and under “local resources” tab do the followings-
Open “remote audio” setting and configure remote audio playback settings as in the below image.
Click the “More” button under “local devices and resources” and check the other supported plug and play devices.
Connect to your Remote machine and verify step 1, Hopefully you must now could see the drivers under audio inputs and outputs. If not refer to the following article on redirecting I/O resources from host to client machines https://learn.microsoft.com/en-us/answers/questions/86750/remote-desktop-connection-not-pulling-in-audio-fro
3.Open MATLAB app and clear toolbox cache, restore path and refresh the list of available audio devices using the following commands.
rehash toolboxcache;
restoredefaultpath;
savepath;
audiodevreset;
audiodevinfo
Hopefully the "audiodevinfo" will now have a structure with two non-empty output and input fields.
Hope it helps.

Prodotti


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by