Also update connection states when participants change
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user