signalwire / signalwire-js

MIT License
18 stars 15 forks source link

CF SDK: Integrate set member position API #1130

Closed iAmmar7 closed 1 month ago

iAmmar7 commented 1 month ago

Description

Allow user to set the self or other member's position in the layout.

Type of change

Code snippets

It accepts params as "member-id-12213": "position-name". For the self-member, the developer can pass the self, a valid memberId is also accpeted.

roomObj.setPositions({ positions: { self: "standard-3" } })
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: df979dc45c397b7a9f317e0a3283badf6a4b37a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------------ | ----- | | @signalwire/core | Minor | | @signalwire/js | Minor | | @signalwire/realtime-api | Patch | | @signalwire/web-api | Patch | | @signalwire/webrtc | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR