文档

Development

User Acquisition

Monetization

工业

Vivox Unity SDK

Vivox Unity SDK

Vivox
​
​
Vivox Unity SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Create voice and text channels
      • Channel management
      • Channel name criteria
      • Channel types
      • Positional channels
      • Channel identifiers for large scale games
      • Participant management
      • Join a channel
        • Request capture device access
        • Initiate a channel join
      • Leave a channel
      • Channel webhooks
      • Automatic connection recovery
    • Messaging
    • Player management
    • Device management
    • Audio management
    • Mobile development
    • Text-to-speech
    • Speech-to-text
    • Real-time recording
    • Server-side-recording
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unity SDK 文档
  2. Vivox Unity 开发者指南
  3. 频道

Request Capture Device Access

Request microphone access from the user before joining channels.
阅读时间1 分钟
最后更新于 8 个月前

为确保语音按预期方式工作,在以下平台上的应用程序中使用 Vivox SDK 的开发者在加入频道之前,必须先请求捕获设备访问权限。
  • 安卓
  • iOS
  • macOS
  • Windows 8 及更高版本
每个平台都有各种请求捕获设备访问权限的方式。例如,可以使用运行时权限,以向用户询问是否要向应用程序授予对捕获设备的访问权限。有关发出运行时权限请求的信息,请参阅由每个平台制造商维护的平台特定文档。
注意
如果应用程序未请求捕获设备访问权限,可能会出现问题,例如,捕获设备或所有频道音频都不工作,直至离开并重新加入频道。

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题
    ​
    ​