Diego
Diego3mo ago

Turn off avatar voice in one room

is it possible to turn off avatar voice in one room and keep it on in other rooms?
Solution:
---------------------- Yes, it is possible to control the voice chat feature in Normcore's VR environment. The RealtimeAvatarVoice component in Normcore includes a mute property. If RealtimeAvatarVoice represents a local player, this property will stop sending audio, effectively muting this player for everyone in the room. However, if RealtimeAvatarVoice represents a remote player, it will mute their audio stream only for the local client. Here is the relevant excerpt from the documentation (https://normcore.io/documentation/realtime/xr/voicechat): ...
Jump to solution
4 Replies
kapa.ai
kapa.ai3mo ago
Hi @Diego. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Solution
kapa.ai
kapa.ai3mo ago
---------------------- Yes, it is possible to control the voice chat feature in Normcore's VR environment. The RealtimeAvatarVoice component in Normcore includes a mute property. If RealtimeAvatarVoice represents a local player, this property will stop sending audio, effectively muting this player for everyone in the room. However, if RealtimeAvatarVoice represents a remote player, it will mute their audio stream only for the local client. Here is the relevant excerpt from the documentation (https://normcore.io/documentation/realtime/xr/voicechat):
RealtimeAvatarVoice includes a `mute` property. If `RealtimeAvatarVoice` represents a local player, this property will stop sending audio, effectively muting this player for everyone in the room. However if RealtimeAvatarVoice represents a remote player, it will mute their audio stream only for the local client.
RealtimeAvatarVoice includes a `mute` property. If `RealtimeAvatarVoice` represents a local player, this property will stop sending audio, effectively muting this player for everyone in the room. However if RealtimeAvatarVoice represents a remote player, it will mute their audio stream only for the local client.
However, the documentation does not provide specific instructions on how to control this feature on a per-room basis. You might need to implement additional logic in your application to manage the mute property based on the room the avatar is in. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@257510550156738560> kapa.ai is still learning and improving, please let us know how it did by reacting below
Mechabit
Mechabit3mo ago
you can use the mute function or just disable the component