Skip to content

Conversation

@Brazol
Copy link
Contributor

@Brazol Brazol commented Mar 19, 2025

FLU-73

🎯 Goal

There was a race between VideoRenderer and SfuTrackPublishedEvent event handling. When VideoRenderer was rendered before publishedTrack was created and added for the participant, it wouldn't be subscribed until VideoRenderer visibility changed again.

🛠 Implementation details

This PR changes VideoRenderer to StatefulWidget and invokes onVisibilityChanged if the widget configuration changes with a late published track added to the participants' tracks array.

@Brazol Brazol marked this pull request as ready for review March 19, 2025 14:15
@Brazol Brazol requested a review from a team as a code owner March 19, 2025 14:15
@Brazol Brazol merged commit c7ecee2 into main Mar 26, 2025
12 checks passed
@Brazol Brazol deleted the fix/fix-video-subscribtion-issues branch March 26, 2025 14:15
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.

3 participants