/ SDKs / Unity
SDKs
Calls SDKs Unity v1
Calls SDKs Unity
Calls SDKs
Unity
Version 1

Manage participant's actions

Copy link

Using the participant object, you can manage participant actions such as turning on or off the microphone in a room.

To turn on or off a participant’s microphone, you can use the following methods from the room.LocalParticipant object.

// Mutes the local participant's microphone.
room.LocalParticipant.MuteMicrophone();

// Unmutes the local participant's microphone.
room.LocalParticipant.UnmuteMicrophone();