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

Added ROOM_CLOSED as a DisconnectReason #778

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Conversation

davidzhao
Copy link
Member

When all independent participants leave the room, the room would close and disconnect all dependent participants. They should receive the correct reason. Currently we are sending UNKNOWN_REASON

When all independent participants leave the room, the room would close
and disconnect all dependent participants. They should receive the correct
reason. Currently we are sending `UNKNOWN_REASON`
@davidzhao davidzhao requested review from a team August 1, 2024 22:02
Copy link

changeset-bot bot commented Aug 1, 2024

🦋 Changeset detected

Latest commit: fabb6bd

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

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

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

Copy link
Member

@theomonnom theomonnom left a comment

Choose a reason for hiding this comment

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

ah that's nice, next step is to add it to the ffi for rust
will add a ticket

@davidzhao davidzhao merged commit b92b88c into main Aug 2, 2024
3 checks passed
@davidzhao davidzhao deleted the room-close-reason branch August 2, 2024 02:16
@github-actions github-actions bot mentioned this pull request Aug 2, 2024
davidzhao added a commit that referenced this pull request Aug 2, 2024
* Added ROOM_CLOSED as a DisconnectReason

When all independent participants leave the room, the room would close
and disconnect all dependent participants. They should receive the correct
reason. Currently we are sending `UNKNOWN_REASON`

* generated protobuf

* changeset

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
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.

4 participants