Documentation

​
​

Development

User Acquisition

Monetization

Industry

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 other users

Learn how to let players mute other users.
Read time 1 minute
Last updated 8 months ago

Vivox Unreal provides the following functions to mute another user:
  • IParticipantProperties::BeginSetLocalMute(bool setMuted, FOnBeginSetLocalMuteCompletedDelegate theDelegate = FOnBeginSetLocalMuteCompletedDelegate())
  • IParticipantProperties::BeginSetIsMutedForAll(bool setMuted, const FString& accessToken, FOnBeginSetIsMutedForAllCompletedDelegate theDelegate = FOnBeginSetIsMutedForAllCompletedDelegate())
Use
BeginSetLocalMute
to mute or unmute a participant for the currently connected user.
void MuteParticipantForMe(IParticipant &participantToMute){ IParticipant::FOnBeginSetLocalMuteCompletedDelegate BeginSetLocalMuteCompletedCallback; bool IsMuted = false; BeginSetLocalMuteCompletedCallback.BindLambda([this, &IsMuted](VivoxCoreError Status) { if(VxErrorSuccess == Status) { IsMuted = true; // This bool is only illustrative. The participant is now muted. } }); participantToMute.BeginSetLocalMute(true, BeginSetLocalMuteCompletedCallback);}
Use
BeginSetIsMutedForAll
to send a request to the Vivox server to mute the participant for all participants in the channel. This requires an access token that you can produce with
IParticipantProperties::GetMuteForAllToken()
.
For more information, refer to the Access Token Developer Guide.
void MuteParticipantForAll(IParticipant &participantToMute){ IParticipant::FOnBeginSetIsMutedForAllCompletedDelegate BeginSetIsMutedForAllCompletedCallback; bool IsMutedForAll = false; BeginSetIsMutedForAllCompletedCallback.BindLambda([this, &IsMutedForAll](VivoxCoreError Status) { if(VxErrorSuccess == Status) { IsMutedForAll = true; // This bool is only illustrative. The participant is now muted. } }); participantToMute.BeginSetIsMutedForAll(true, participantToMute.GetMuteForAllToken(kDefaultKey, kDefaultExpiration), BeginSetIsMutedForAllCompletedCallback);}

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page