如何从esx虚拟机stream式传输声音?

我尝试从具有真实声卡的物理机器上的监视应用程序(它是VMware ESX 3上的xp虚拟机)播放声音,但无法从ESX控制台声卡中添加声音。

目前,我通过打开RDP会话传输声音并在此会话中播放。

我想播放声音而不打开RDP会话,你有一个解决scheme,添加一个虚拟声卡,然后与VLCstream?

无法在ESX内部支持audio(或USB),并根据VMWare维护可移植性/ HA / vMotion。 声音,正如你所知,通过RDP支持。 这是因为audio被redirect到发起RDP会话的机器。

我终于find了这个, http://www.e2esoft.cn/vsc/ ,它解决了我的问题,但它是一个共享软件,我真的想要一个开源的解决scheme。 如果有人知道一个等值。 感谢您的回答。

看看spice-space.org目前这个工作在Red Hat的RHEV中,而不是在ESX中。

在Windows虚拟机中启用远程桌面协议的声音(1004839)目的本文提供了在Windows虚拟机中为远程桌面协议(RDP)启用声音的步骤。 解决scheme使用RDP连接时,要在虚拟机中启用声音

Windows 2003:

Click Start > Run, type services.msc, and click OK. Change the Windows Audio service to Automatic and start the service. Click Start > Settings > Control Panel > Administrative Tools. Click the Terminal Services Configuration section. Double-click RDP-TCP. Click the Client Settings tab. Deselect Audio Mapping. 

Windows XP和2008:

 Click Start > Run, type mmc, and click OK. Add the Group Policy Object Editor snapin. Expand Local Computer Policy. Expand Computer Configuration. Expand Administrative Templates. Expand Windows Components. Expand Terminal Services. In Client/Server data redirection, enable Allow Audio Redirection. Restart the virtual machine. 

Windows 7和2008 R2:

 Click Start > Run, type mmc, and click OK. Add the Group Policy Object Editor snapin. Expand Local Computer Policy. Expand Computer Configuration. Expand Administrative Templates. Expand Windows Components. Expand Remote Desktop Services. Expand Remote Desktop Session Host. In Device and Resource redirection, enable Allow Audio and Video Playback Redirection. Restart the virtual machine. 

Windows 2012:

 Right-click Start and click Run. Type mmc, and click OK. Add the Group Policy Object Editor snapin. Expand Local Computer Policy. Expand Computer Configuration. Expand Policies. Expand Administrative Templates. Expand Windows Components. Expand Remote Desktop Services. In Device and Resource redirection, enable Allow Audio and Video Playback Redirection. Restart the virtual machine. 

Windows 2012 R2:

 Right-click Start and click Run. Type mmc, and click OK. Add the Group Policy Object Editor snapin. Expand Local Computer Policy. Expand Computer Configuration. Expand Policies. Expand Administrative Templates. Expand Windows Components. Expand Remote Desktop Services. Expand Remote Desktop Session Host. In Device and Resource redirection, enable Allow Audio and Video Playback Redirection. Restart the virtual machine. 

笔记:

 Verify on the guest OS > Options > Local Resources. Settings under Remote audio settings, the option Play on this computer should be enabled. Windows XP may require the policy to be set to Enable. Windows 2008 may require the policy to be set in User Configuration\Administrative Templates\Windows Components\Terminal Services. Windows 2008 R2 requires Windows Audio Service to be started automatically. To ensure that this service starts automatically: Click Start > Run, type services.msc and click OK. Change the service to start in Automatic mode. 

其他信息有关更多信息,请参阅Microsoft知识库文章818465和886199。