@signalwire/js v3.10.0
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
andsetMemberMeta
methods on theRoomSession
(#452)
Improvements
- Updated default screenShare audio constraints (#457)