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

Broadcast host_changed events when hub.host changes #688

Merged
merged 3 commits into from
Mar 2, 2023

Conversation

johnshaughnessy
Copy link
Contributor

@johnshaughnessy johnshaughnessy commented Mar 2, 2023

If a client causes a room's host to change, broadcast the change so that other clients in the room are notified of this change and can migrate their connections to the new dialog host.

Hubs-Foundation/hubs#5975

@johnshaughnessy johnshaughnessy marked this pull request as ready for review March 2, 2023 03:41
@johnshaughnessy johnshaughnessy temporarily deployed to smoke March 2, 2023 03:41 — with GitHub Actions Inactive
@johnshaughnessy johnshaughnessy merged commit dc5838d into master Mar 2, 2023
@johnshaughnessy johnshaughnessy deleted the feature/broadcast-host-changes branch March 2, 2023 04:04
johnshaughnessy added a commit that referenced this pull request Mar 2, 2023
@johnshaughnessy johnshaughnessy mentioned this pull request Mar 2, 2023
johnshaughnessy added a commit that referenced this pull request Mar 2, 2023
host: host,
port: Hub.janus_port(),
turn: Hub.generate_turn_info()
})
Copy link
Contributor Author

@johnshaughnessy johnshaughnessy Mar 2, 2023

Choose a reason for hiding this comment

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

I accidentally changed the return type of this function (ensure_host/1). Fixed in #689.

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.

1 participant