You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Currently this is solved with the workaround that the user does not even get the option to start a new call if there is a running one.
But in the future it would be nice if starting a new call would first disconnect the old call and then connect the new one.
All the requirements are in place:
The new call needs to wait until it can become sticky -> since there is always only one widget that can be sticky, we would kill the running widget by making the new one sticky. This is solved by a stickyPromise that needs to resolve before we can connect the new call.
It seems the issue is, that if a call is hung up the roomview will dispatch an action with view_call = false this action will kill the newly started call...
The logic is correct: only dispatch with view_call = false if there is no active call. But due to a potential race there seems to be no active call even though there should be. Maybe checking CallStore.instance.getCall could reveal if there is another call and one should not dispatch view_call = false
The text was updated successfully, but these errors were encountered:
Currently this is solved with the workaround that the user does not even get the option to start a new call if there is a running one.
But in the future it would be nice if starting a new call would first disconnect the old call and then connect the new one.
All the requirements are in place:
stickyPromise
that needs to resolve before we can connect the new call.It seems the issue is, that if a call is hung up the roomview will dispatch an action with
view_call = false
this action will kill the newly started call...The logic is correct: only dispatch with
view_call = false
if there is no active call. But due to a potential race there seems to be no active call even though there should be. Maybe checkingCallStore.instance.getCall
could reveal if there is another call and one should not dispatchview_call = false
The text was updated successfully, but these errors were encountered: