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

Automatic subscribe for RoomSession #435

Merged
merged 10 commits into from
Feb 24, 2022
Merged

Conversation

framini
Copy link
Contributor

@framini framini commented Feb 17, 2022

The code in this changeset makes the call to RoomSession.subscribe() optional. As of this PR the user will only have to attach the events they are interested and the SDK will take care of handling the underlying subscriptions to receive the events. The VideoClient was already auto-connecting and this PR finishes the job started in #411

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2022

🦋 Changeset detected

Latest commit: 769c161

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

This PR includes changesets to release 1 package
Name Type
@signalwire/realtime-api 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: Automatic subscribe for RoomSession Automatic subscribe for RoomSession Feb 22, 2022
@framini framini requested a review from edolix February 22, 2022 10:42
@@ -172,4 +172,24 @@ describe('RoomSession Object', () => {
})
})
})

describe.only('automatic subscribe', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Note for the .only

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.

Note: i solved a conflict using the GH editor in 769c161

@edolix edolix merged commit cc45760 into main Feb 24, 2022
@edolix edolix deleted the fr/room-session-auto-subscribe branch February 24, 2022 13:56
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