Skip to main content

RELAY JS SDK 3.20.0 Release

· One min read
Renae Sowald

We are happy to announce JavaScript SDK 3.20.0.

Upgrading is straightforward with our release process, which adheres to Semantic Versioning. Minor versions are guaranteed to not have breaking changes, so you can upgrade with confidence.

SignalWire Release Card

Version 3.20 of the JavaScript SDK includes a small new feature for Video: local video stream mirroring.

Mirroring the Local Video Stream

We have exposed the property localOverlay on a Video RoomSession object. The method setMirrored on this new property allows a user to mirror their local video overlay. 2e58a76b

await roomSession.localOverlay.setMirrored(true);

The mirrored local stream is sent to the SignalWire Multipoint Control Unit (MCU), muxed into a single unified stream, and visible to all participants.

You can also unset mirroring with

await roomSession.localOverlay.setMirrored(false);