2 Replies
Hi @fgamez1020. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To mute players in NormalVR, you can use the
RealtimeAvatarVoice
component, which handles voice chat functionality. Here's how you can mute other players and yourself:
1. Muting yourself (local player):
To mute yourself, you can set the mute
property of the RealtimeAvatarVoice
component on your local player to true
. This will stop sending audio, effectively muting you for everyone in the room.
2. Muting other players (remote players):
For remote players, setting the mute
property to true
will mute their audio stream only for your local client.
Here's a brief example of how you might implement this:
Remember that the RealtimeAvatarVoice
component works on any realtime prefab as long as the RealtimeView
component has an owner. The ownership determines whether the component should be sending or receiving audio.
Voice Chat Documentation (https://normcore.io/documentation/realtime/xr/voicechat)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1053407831916822528> Kapa.ai is still learning and improving, please let me know how I did by reacting below.