Also update connection states when participants change

This commit is contained in:
David Baker committed 2022-11-15 17:33:58 +00:00
1 parent f2746ab994
commit 5623fa415f
1 file changed
+4
+4
View File
@@ -214,6 +214,10 @@ export function InCallView({
};
}, [calls, updateConnectionStates]);
useEffect(() => {
updateConnectionStates();
}, [participants, updateConnectionStates]);
useEffect(() => {
widget?.api.transport.send(
layout === "freedom"