Skip to content

If enabled, Android will now correctly leave when there is 1 participant left - #1480

Merged
aleksandar-apostolov merged 2 commits into
developfrom
bugfix/rahullohra/particiapnt-left
Jul 28, 2025
Merged

If enabled, Android will now correctly leave when there is 1 participant left#1480
aleksandar-apostolov merged 2 commits into
developfrom
bugfix/rahullohra/particiapnt-left

Conversation

@rahul-lohra

Copy link
Copy Markdown
Contributor

🎯 Goal

Refine the Last Participant Leave Policy.
According to this policy, when there is one or zero participants remaining in a call, the current user should automatically leave the call.

🛠 Implementation details

Instead of relying on a cached or potentially stale participantCount,
we will use the ParticipantState to determine the number of active participants in the call.

Here’s a more polished and clearer version of your text:

…policy will be invoked when there 1 or less participant in the call
@rahul-lohra rahul-lohra self-assigned this Jul 28, 2025
@rahul-lohra
rahul-lohra requested a review from a team as a code owner July 28, 2025 09:21
@github-actions

github-actions Bot commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 11.41 MB 11.41 MB 0.00 MB 🟢
stream-video-android-ui-xml 5.70 MB 5.70 MB 0.00 MB 🟢
stream-video-android-ui-compose 5.88 MB 5.88 MB 0.00 MB 🟢

@sonarqubecloud

Copy link
Copy Markdown

@aleksandar-apostolov aleksandar-apostolov added the pr:bug Fixes a bug label Jul 28, 2025
@aleksandar-apostolov
aleksandar-apostolov merged commit 874e8c7 into develop Jul 28, 2025
15 of 16 checks passed
@aleksandar-apostolov
aleksandar-apostolov deleted the bugfix/rahullohra/particiapnt-left branch July 28, 2025 12:22
@aleksandar-apostolov aleksandar-apostolov changed the title Improve Last Participant Leave Policy If enabled, Android will now correctly leave when there is 1 participant left Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:bug Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants