기술 자료

​
​

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
      • Mute a user's microphone
      • Mute other users
      • Crossmute functions
    • In-game moderation
    • Android app development
    • iOS app development
    • Server-side recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Real-time recording
    • Transmission
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unreal SDK documentation

Mute a user's microphone

How to mute the local player microphone.
읽는 시간 2분
최근 업데이트: 8달 전

There are two methods for muting a user’s microphone:
AudioInputDevices
or
SetTransmissionMode()
. Each method is beneficial for different scenarios, which are detailed in the following sections.

AudioInputDevices

Use
AudioInputDevices
if you want a user to transmit to one channel at a time, or if you want to mute the user's microphone in all channels. This method mutes a user’s microphone across the client.
참고
Unless you need to manage which channels a user can speak into, it's recommended that you use this method for consistency purposes.
The following code displays an example of how to use
AudioInputDevices
.
//mutedVivoxVoiceClient->AudioInputDevices().SetMuted(true)//unmutedVivoxVoiceClient->AudioInputDevices().SetMuted(false)

SetTransmissionMode()

Use
SetTransmissionMode()
when you are managing multiple channels.
You can transmit to channels by using one of the following methods:
  • All channels
  • One channel
  • No channels
참고
If you are transmitting to a channel, then you must transmit to either all channels or to only one channel. For example, if you are joined to channels A, B, and C, you cannot transmit to A and B but not to C.

Transmit to all channels

Use
TransmissionMode::All
when you want to create a realistic environment.
For example, if a player is talking into a two-way radio, a developer might want other players to also hear the player in the 3D space. By using
TransmissionMode::All
, when the player speaks, both the players in the two-way radio channel and the players nearby in the world chat can hear the player.
LoginSession.SetTransmissionMode(TransmissionMode::All)

Transmit to one channel

Use
Transmission::Single
to determine which channel the player is talking into.
For example, a player might be in two squad chats, and they can listen to both channels simultaneously. By using
Transmission::Single
, the player can speak into one channel at a time.
LoginSession.SetTransmissionMode(TransmissionMode::Single, ChannelId singleChannel)

Transmit to no channels

Use
Transmission::None
to prevent a player from being heard in any channels.
LoginSession.SetTransmissionMode(TransmissionMode::None)

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • AudioInputDevices

    • SetTransmissionMode()

      • Transmit to all channels

      • Transmit to one channel

      • Transmit to no channels


이 페이지의 문제 보고