Skip to content

@signalwire/js v3.10.0

Compare
Choose a tag to compare
@danieleds danieleds released this 25 Mar 11:27
· 648 commits to main since this release

Version 3.10 of the JavaScript SDK is out! Here are the main highlights.

Highlights

Positions

We have introduced the concept of positions. Every video layout now has a set of predetermined positions (e.g. reserved-1, standard-1, off-cavas), to which you can assign members. For example:

await roomSession.setMemberPosition({
  memberId: "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60",
  position: "off-canvas"
})

Other methods have been updated to support positions. For example, to share the screen while changing layout:

await roomSession.startScreenShare({
  audio: true,
  video: true,
  layout: "screen-share",
  positions: {
    "self": "reserved-1"
  }
})

New

  • Exposed setMeta and setMemberMeta methods on the RoomSession (#452)

Improvements

  • Updated default screenShare audio constraints (#457)

Bug fixes

  • Fixed issue with local video overlay when user is video muted (#455)
  • Fixed Chat methods that required the underlay client to be connected (#469)
  • Fixed getDisplayMedia signature (#463)