Skip to main content

RELAY JS SDK 3.21.0 Release

· One min read
Renae Sowald

We are happy to announce JavaScript SDK 3.21.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

Today's JavaScript SDK release includes an improvement for Video and a small fix.

Improvements

  • The new method setLocalStream has been added to the Video RoomSession object to update the local media stream. aaa07479
const canvas = document.createElement("canvas");
// Interact with the canvas
const stream = canvas.captureStream(25); // 25 FPS
await roomSession.setLocalStream(stream);

See the technical reference for additional examples.

Fixes

  • Improved reconnection logic under bad network conditions. f3711f17