Also update connection states when participants change
This commit is contained in:
parent
f2746ab994
commit
5623fa415f
1 changed files with 4 additions and 0 deletions
|
@ -214,6 +214,10 @@ export function InCallView({
|
||||||
};
|
};
|
||||||
}, [calls, updateConnectionStates]);
|
}, [calls, updateConnectionStates]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
updateConnectionStates();
|
||||||
|
}, [participants, updateConnectionStates]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
widget?.api.transport.send(
|
widget?.api.transport.send(
|
||||||
layout === "freedom"
|
layout === "freedom"
|
||||||
|
|
Loading…
Add table
Reference in a new issue