Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member position #456

Merged
merged 29 commits into from
Mar 17, 2022
Merged

Member position #456

merged 29 commits into from
Mar 17, 2022

Conversation

framini
Copy link
Contributor

@framini framini commented Mar 7, 2022

Checklist

  • Add requestedPosition and currentPosition to the member interface
  • Keep track of each Member in a room to be able to trigger a local member.updated
  • Make sure to subscribe to layout.changed events in case the end-user asked for member.updated. Not the reverse since we don't need member.updated data to trigger a layout.changed.
  • Add currentPosition to a (normal) server-side member.updated event
  • Keep track of layout.changed events and generate local member.updated based on the data of the previous and current layout.changed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2022

🦋 Changeset detected

Latest commit: 8154a06

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

This PR includes changesets to release 6 packages
Name Type
@signalwire/core Minor
@signalwire/js Minor
@signalwire/realtime-api Minor
@signalwire/react-native 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

@framini framini changed the title WIP: Member position Member position Mar 10, 2022
@edolix
Copy link
Contributor

edolix commented Mar 11, 2022

Looks good! Do you want to include the changes for "js" in this PR?

Comment on lines 5 to 7
if (!options.payload) {
return
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is an error for us, i would either log something or throw an error ?

@framini framini requested a review from edolix March 17, 2022 09:38
Copy link
Contributor

@edolix edolix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@edolix edolix merged commit c487d29 into main Mar 17, 2022
@edolix edolix deleted the fr/member-position branch March 17, 2022 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants