dont throw disconnected error at start of the call
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -209,8 +209,9 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
|
|
||||||
// annoyingly we don't get the disconnection reason this way,
|
// annoyingly we don't get the disconnection reason this way,
|
||||||
// only by listening for the emitted event
|
// only by listening for the emitted event
|
||||||
if (connectionState === ConnectionState.Disconnected)
|
// This needs to be done differential. with the vm connection state we start with Disconnected.
|
||||||
throw new ConnectionLostError();
|
// if (connectionState === ConnectionState.Disconnected)
|
||||||
|
// throw new ConnectionLostError();
|
||||||
|
|
||||||
const containerRef1 = useRef<HTMLDivElement | null>(null);
|
const containerRef1 = useRef<HTMLDivElement | null>(null);
|
||||||
const [containerRef2, bounds] = useMeasure();
|
const [containerRef2, bounds] = useMeasure();
|
||||||
|
|||||||
Reference in New Issue
Block a user