LocalOverlay

View as Markdown

Represents the local overlay, which displays the user’s local camera feed.

Properties

mirrored
booleanRequired

Whether the local video overlay is mirrored.

Methods

setMirrored

setMirrored(): void

Mirror the local video overlay when true. The mirrored stream is sent to the SignalWire server and is visible to all participants.

Parameters

mirror
booleanRequired

Whether to mirror the local video overlay.

Returns

void

Example

1await roomSession.localOverlay.setMirrored(true);