Navigation
API > API/Plugins > API/Plugins/VoiceChat > API/Plugins/VoiceChat/IVoiceChatUser
Description
Mute or unmute a player in a given channel. Only has effect if the player is currently in the channel, and only until you/they leave the channel. i.e. this is expected to be [re]called by OnVoiceChatPlayerAdded delegates.
| Name | SetChannelPlayerMuted |
| Type | function |
| Header File | /Engine/Plugins/Online/VoiceChat/VoiceChat/Source/Public/VoiceChat.h |
| Include Path | #include "VoiceChat.h" |
void SetChannelPlayerMuted
(
const FString & ChannelName,
const FString & PlayerName,
bool bAudioMuted
)
Parameters
| Name | Remarks |
|---|---|
| ChannelName | Channel in which to mute the player |
| PlayerName | Player to mute in channel |
| bMuted | true if the player should be muted in the specified channel |