Describe the bug
We have a use case to end the call if there is only one participant and currently we poll every 15s for call.state.participants.value.size to check this.
However sometimes even though a participant has left, this still returns 2, since it is a 1v1 call.
Why is this happening? and how can we reliably know the participant count at any time.
SDK version
Android Video SDK - io.getstream:stream-video-android-ui-compose:1.8.0
To Reproduce
Happens intermittently
Expected behavior
How to reliably know if a participant has left
Device:
- Samsung A13
- Android version: 15
Describe the bug
We have a use case to end the call if there is only one participant and currently we poll every 15s for call.state.participants.value.size to check this.
However sometimes even though a participant has left, this still returns 2, since it is a 1v1 call.
Why is this happening? and how can we reliably know the participant count at any time.
SDK version
Android Video SDK - io.getstream:stream-video-android-ui-compose:1.8.0
To Reproduce
Happens intermittently
Expected behavior
How to reliably know if a participant has left
Device: