@beterdichtbij/component-library 0.66.0-alpha.6 → 0.66.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -191236,7 +191236,7 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191236
191236
|
}
|
|
191237
191237
|
async function xe(e) {
|
|
191238
191238
|
try {
|
|
191239
|
-
T.incomingCall = e.incomingCall, we();
|
|
191239
|
+
T.incomingCall = e.incomingCall, await we();
|
|
191240
191240
|
} catch {
|
|
191241
191241
|
console.log("error occured during starting call");
|
|
191242
191242
|
}
|
|
@@ -191351,11 +191351,13 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191351
191351
|
Ve(!0);
|
|
191352
191352
|
}
|
|
191353
191353
|
async function Ve(e = !1) {
|
|
191354
|
-
let t =
|
|
191355
|
-
|
|
191356
|
-
|
|
191357
|
-
|
|
191358
|
-
|
|
191354
|
+
let t = T.call?.state;
|
|
191355
|
+
if (t === "Connecting" || t === "EarlyMedia") return;
|
|
191356
|
+
let n = (await T.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
|
|
191357
|
+
A.value = n.length;
|
|
191358
|
+
for (let t = 0; t < A.value; t++) {
|
|
191359
|
+
(e || t != 0) && (ne.value = (ne.value + 1) % A.value);
|
|
191360
|
+
let r = n[ne.value];
|
|
191359
191361
|
if (await Pe(new Z6(r))) break;
|
|
191360
191362
|
}
|
|
191361
191363
|
}
|