光子声音不捡起Microsoft Hololens 2麦克风

发布于 2025-02-13 15:07:23 字数 452 浏览 1 评论 0 原文

因此,对于我与朋友一起开发的应用程序,我们意识到我们需要语音聊天。该应用程序是多人游戏,并且在UNITY中与PUN2开发了网络和多人游戏方面。

对于语音聊天,我们选择了Photon语音2,并且在经过一些教程之后,一切都在计算机上工作正常(语音回声,用户说话,听和互相交谈都可以正常工作)。

问题是,当我在Microsoft Hololens 2上部署应用程序原型时,从耳机中未检测到麦克风输入,什么也不会出来,而且扬声器似乎也不起作用(我可以听到Windows菜单的UI声音效果等。 ..但不是游戏中的演讲者,从那里发出声音)。

我在一些论坛上读到,需要一个特殊的包装来使Photon Voice 2与Hololens 2一起使用,并以一定的代价。

有什么方法可以帮助Microsoft Hololens 2的调试或拾取语音输入? 更一般而言,如何从Unity中访问应用程序的Microsoft Hololens 2的扬声器和麦克风?

So, for an application I am developing with my friend, we realized we needed voice chat. The application is multiplayer, and the networking and multiplayer aspects have been developed with PUN2, in Unity.

For voice chat, we opted for photon voice 2, and after following a few tutorials everything works fine on the computer ( voice echo, users speaking, hearing and talking to each other works fine).

The problem is, when I deploy the application prototype on Microsoft Hololens 2, no microphone input is detected from the headset, nothing comes out, and the speakers seem to not work as well (I can hear the UI sound effects of the windows menu etc.. but not the in-game speakers, from where the voice are emitted).

I have read on some forums that a special package is needed to make Photon Voice 2 work with HoloLens 2, and comes at a cost.

Is there any way to help debug or pickup voice inputs from the Microsoft HoloLens 2?
More generally, how do I access Microsoft HoloLens 2's speakers and microphone from the application in unity?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

灵芸 2025-02-20 15:07:23

Hololens官方样本表示麦克风的使用,您可以以官方演示为例开发您的项目 - WindowsmicrophonestreamDemo

请注意,此样品需要MRKT麦克风流选择器软件包,并且可以通过混合现实功能工具

The HoloLens official sample indicates the usage of microphone and you may take the official demo as an example to develop your project – WindowsMicrophoneStreamDemo.

Please note that MRKT Microphone Stream Selector package is required for this sample and It can be imported easily via Mixed Reality Feature Tools

抚你发端 2025-02-20 15:07:23

希望您已经解决了问题。
您需要为ARM构建而不是ARM64以使用没有特殊包装的光子语音。

Hope you've already solved the problem.
You need to build for ARM, not ARM64 to use Photon Voice without special package.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文