> For the complete documentation index, see [llms.txt](https://enghouse-vidyo.gitbook.io/vidyoplatform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enghouse-vidyo.gitbook.io/vidyoplatform/use-cases/call-moderation/hard-mute/hard-mute-video.md).

# Hard Mute Video

The objective is to enable/disable the moderator to apply a hard Mute of video to all/single participant

* Set Video disable state for a selected participant in the room using API **VidyoConnectorDisableVideoForParticipant**

**Example to disable video of a participant:**

retValue = GetConnectorInstance.DisableVideoForParticipant(participant, false, "HardUnmuteVideoForParticipant");

return retval;

**Example to enable video of a participant:**

retValue = GetConnectorInstance.DisableVideoForParticipant(participant, true, "HardMuteVideoForParticipant");

return retval;

* Set video disable state for all participants in the room using API **VidyoConnectorDisableVideoForAll**

**Example:**&#x20;

retValue = GetConnectorInstance.DisableVideoForAll(true, "HardMuteVideoForAllEnable");
