promote
promote
- promote(
params):Promise<void>
Promotes a participant from “audience” to “member”. See join and demote.
Parameters
params
Object containing the parameters of the method.
memberId
Id of the audience participant to promote.
joinAudioMuted
Force the member’s audio to be muted right after the promotion.
joinVideoMuted
Force the member’s video to be muted right after the promotion.
mediaAllowed
Specifies the media that the client will be allowed to send. A member participant can always receive all media.
meta
Metadata to assign to the member.
permissions
List of permissions to grant when the Audience participant will become a Member.
Returns
Promise<void>
Permissions
room.member.promote
You need to specify the permissions when creating the Video Room Token on the server side.