-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Bug] Session participants are not updated after the call ends #1561
Comments
hi @vihan85, thanks for reporting this issue. This behavior is intentional and standardized across all of our SDKs. Can you please share what's your use case? Maybe we can suggest another solution. |
hi @oliverlaz, I'm developing a functionality when during a group call, users can join whenever they want by clicking the "join call" button, and the button will disappear if the call ends.
|
|
Hi @oliverlaz, Can you help me? |
[client]: Failed to connect Error: {"code":"","StatusCode":"","message":"initial WS connection could not be established","isWSFailure":true} I keep getting this error, esp in production |
Hello @oliverlaz |
hi @vihan85, We can't change this behavior as it might be a breaking change for some customers who rely on the existing behavior. Currently, I can suggest you one workaround: const onLeaveCallButtonPress = async () => {
await call.leave(); // I assume this is your current logic
// Add this:
// This will re-establish the connection and will enable state updates until you do `call.leave()` again.
// Keep in mind this may create a memory leak, as this call instance won't be automatically disposed.
await call.get();
} Please let me know if this helps. |
@Qodestackr, can you please open another issue? |
Which package/packages do you use?
@stream-io/video-react-sdk
@stream-io/video-react-native-sdk
@stream-io/video-client
Describe the bug
Session participants are not updated after the call ends
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Expected behavior
After end call useCallSession().participants = []
The text was updated successfully, but these errors were encountered: