-
Notifications
You must be signed in to change notification settings - Fork 21
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
Align participants sorting with Web #186
Align participants sorting with Web #186
Conversation
Generated by 🚫 Danger |
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.
looks great in general. However, we need to test few things before merging, since there's some logic that's removed that might have an impact. @testableapple can also help.
@@ -380,24 +364,6 @@ open class CallViewModel: ObservableObject { | |||
/// - participant: the participant whose track visibility would be changed. | |||
/// - isVisible: whether the track should be visible. | |||
public func changeTrackVisibility(for participant: CallParticipant, isVisible: Bool) { | |||
if !isVisible { |
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.
While some of this stuff might not be needed anymore, with the introduction of the visibility modifier, we need to test all cases. This code was here because of tracks being hidden when changing layouts. Did you test that everything works as expected?
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.
Tests so far haven't yield anything concerning but i'll run another round with this one and the comment above just to be sure.
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 had one case where one track never got enabled. Hard to tell if it was us or the SFU.
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.
That was related to this #191
006ecc7
to
b675e4f
Compare
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.
great work 👏 I did some tests, but would be good if @testableapple does some more.
- Resolve issues where participants swap places while on visible viewport
b675e4f
to
de7056d
Compare
Kudos, SonarCloud Quality Gate passed! |
🔗 Issue Links
Resolves https://github.com/GetStream/ios-issues-tracking/issues/582
🎯 Goal
Avoid moving video tracks when user properties change, especially when that user is currently visible.
📝 Summary
Based on React implementation here
☑️ Contributor Checklist