setMemberPosition
setMemberPosition
- setMemberPosition(
params):Promise<void>
Assigns a position in the layout to the specified member.
Parameters
params
Object containing the parameters of the method.
memberId
Id of the member to affect. If omitted, affects the current member.
position
Position to assign in the layout.
Returns
Promise<void>
Permissions
room.self.set_position: to set the position for the local member.room.member.set_position: to set the position for a remote member.
You need to specify the permissions when creating the Video Room Token on the server side.