dont throw disconnected error at start of the call

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-09-17 11:25:49 +02:00
parent ccfd32c9b2
commit 41e152f420

View File

@@ -209,8 +209,9 @@ export const InCallView: FC<InCallViewProps> = ({
// annoyingly we don't get the disconnection reason this way,
// only by listening for the emitted event
if (connectionState === ConnectionState.Disconnected)
throw new ConnectionLostError();
// This needs to be done differential. with the vm connection state we start with Disconnected.
// if (connectionState === ConnectionState.Disconnected)
// throw new ConnectionLostError();
const containerRef1 = useRef<HTMLDivElement | null>(null);
const [containerRef2, bounds] = useMeasure();