-
Notifications
You must be signed in to change notification settings - Fork 106
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
Prepare connection / region pinning #450
base: main
Are you sure you want to change the base?
Conversation
hiroshihorie
commented
Jul 30, 2024
•
edited
Loading
edited
- Test local / remote urls
- Test url updates
Sources/LiveKit/Core/Room.swift
Outdated
// Connect sequence successful | ||
log("Connect sequence completed") | ||
while true { | ||
let region = try await resolveBestRegion() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to await region selection on initial connection?
The other SDKs don't block here and just continue immediately in order for region manager not to have any impact on connection speed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!