文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Unreal SDK

Vivox Unreal SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Unreal SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Unity Authentication Service in Unreal
    • Create voice and text channels
    • Messaging
    • Audio management
    • Muting
    • In-game moderation
    • Android app development
    • iOS app development
    • Server-side recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Real-time recording
    • Transmission
      • Transmission methods
      • Transmission modes
      • Push-to-talk
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unreal SDK documentation

Transmission modes

Learn about different voice transmission modes in Vivox.
阅读时间2 分钟
最后更新于 8 个月前

TransmissionMode::None

This is the default value of the
TransmissionMode
and results in no audio being broadcast to any channel.
If transmitting into a specific channel with
TransmissionMode::Single
, and that channel is disconnected entirely or has its audio capability disconnected,
TransmissionMode
reverts to
TransmissionMode::None
even if you are joined to other audio capable channels. If you want the plug-in to switch transmission to another one automatically, you can use the delegate callbacks or state change events that are found in
IChannelSession
. However, if set to
TransmissionMode::All
, you continue to transmit into all channels.

TransmissionMode::All

You can call
ILoginSession::SetTransmissionMode(TransmissionMode::All)
at any point to enable transmission into all current and future channels. This enables users to broadcast audio into all channels they are or will ever be connected to until you change the policy. There is no additional resource cost for transmitting to multiple channels as compared to a single channel.

TransmissionMode::Single

Use this policy for when a user is in multiple audio-capable channels but only wants to speak in one at a time. In scenarios where the user is in one audio-only or audio and text channel at a time, this performs identically to TransmissionMode::All.
When setting
TransmissionMode::Single
by using
ILoginSession::SetTransmissionMode()
, you must also include a ChannelId as the second argument, specifying which single channel you want to transmit to. There is no benefit to preemptively setting this value for a channel you are not already connected to because the audio does not have anywhere to go.
The
IChannelSession
methods
BeginConnect()
and
BeginSetConnectedAudio()
, which let you join a channel or add audio capability to a text-only channel, each have the argument bool
switchTransmission
. When supplied with true, they override and set the
TransmissionMode
of the
ILoginSession
to transmit only to that specific channel, effective as soon as the channel is joined or audio capability is available. Setting this method to false results in following whatever policy ILoginSession already has set. By using this parameter, applications that only join one audio channel at a time usually do not have to call any transmission-specific APIs.

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

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

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

  • 在本页上
    • TransmissionMode::None

    • TransmissionMode::All

    • TransmissionMode::Single


报告此页面的问题