setPrioritizeHandraise

View as Markdown

setPrioritizeHandraise

  • setPrioritizeHandraise(params): Promise<boolean>

Set whether to prioritize hand-raise or not. Users with raised hands will be shown in the main video area over other participants who don’t have their hand raised.

Parameters

NameTypeDescription
parambooleanWhether to prioritize participants on the canvas with their hand-raised. Default: true. If omitted, the hand status is toggled to the opposite of the current status.

Permissions

  • video.prioritize_handraise

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

Returns

Promise<boolean>

Example

1await room.setPrioritizeHandraise(false)