Skip to navigation
setPosition(value): Promise<void>

Sets the participant’s position in the video layout.

Requires the member.position capability. A resolved promise does not guarantee a visible change: the backend silently returns a no-op success for non-conference targets.

Parameters

value
VideoPositionRequired

The VideoPosition to assign (e.g. 'auto', 'reserved-0').

Returns

Promise<void>

Throws

ParticipantNotReadyError — this member’s call context has not arrived yet, so there is no target to address the request to.

Inherited from

Participant.setPosition

Examples

await selfParticipant.setPosition(value);