文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Core SDK

Vivox Core SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
    • Presence management
    • Messaging
    • Manage audio
      • Direct voice audio access
        • Callback APIs
        • Callback usage
        • Read and alter audio data for each participant
      • In-game audio control
      • Muting
    • Couch co-op
    • Android app development
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation

Direct voice audio access

How to access voice audio.
阅读时间1 分钟
最后更新于 8 个月前

Direct access to the audio buffers on the capture client or render client allows developers to:
  • Add an audio effect that modifies voice (for example, a robot voice, radio distortion, or static)
  • Use a third-party audio engine (such as Wwise) for voice render instead of an automatic render provided by Vivox
  • Record audio
  • Perform phoneme analysis
注意
The Vivox SDK automatically handles the capture and render of voice data without requiring audio buffer access. Unless your implementation requires the situations detailed in the preceding list, you most likely do not need audio buffer access.
The Vivox Core SDK provides four hooks for optional callback functions that allow access to the audio buffers:
  • Capture side
    • After capture, but before Vivox audio processing
    • After Vivox audio processing, but before being sent to the Vivox server
  • Render side
    • After being received from the Vivox server, but before audio processing and mixdown to a single audio stream
    • After Vivox audio processing and mixdown, but before render
注意
Callbacks only occur when in a channel session and the audio data there is interleaved and in 16-bit integer format.
Vivox Core users have access to these hooks directly as displayed in the following sections.
注意
Accessing or modifying the audio buffers incorrectly can have a substantial negative impact on the user experience. The callbacks covered in these topics occur on Vivox’s real-time audio thread so take precautions when using them. Limit memory allocation on this thread to avoid negatively affecting the audio quality, especially on low-end devices.

Topic

Description

Callback APIsHow to set the callback pointers.
Callback usageDetailed information on each callback and it's usage.
Read and alter audio data for each participantManaging individual participant audio data.

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

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

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


    报告此页面的问题