setHideVideoMuted

View as Markdown

setHideVideoMuted

  • setHideVideoMuted(value): Promise<void>

Show or hide muted videos in the room layout. Members that have been muted via videoMute will not appear in the video stream, instead of appearing as a mute image, if this setting is enabled.

Muted videos are shown by default.

Parameters

value
boolean

Whether to hide muted videos in the room layout.

Returns

Promise<void>

Permissions

  • room.hide_video_muted
  • room.show_video_muted

You need to specify the permissions when creating the Video Room Token on the server side.

Example

1await roomSession.setHideVideoMuted(false);