@beterdichtbij/component-library 0.66.0-alpha.13 → 0.66.0-alpha.15
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
|
T.agent = w(await T.client.createCallAgent(t)), T.deviceManager = await T.client.getDeviceManager(), x.value = await T.deviceManager.askDevicePermission({
|
|
191237
191237
|
video: !0,
|
|
191238
191238
|
audio: !0
|
|
191239
|
-
}), N.value = window.setInterval(Ue, 5e3), (!x.value.audio || !x.value.video) && (S.value = $9), i.isCallee && (T.agent.on("incomingCall", Ce), o("ready"));
|
|
191239
|
+
}), N.value = window.setInterval(Ue, 5e3), (!x.value.audio || !x.value.video) && (S.value = $9), console.log("isCallee", i.isCallee), i.isCallee && (T.agent.on("incomingCall", Ce), o("ready"));
|
|
191240
191240
|
}
|
|
191241
191241
|
async function Ce(e) {
|
|
191242
191242
|
if (console.log("SetIncomingCall"), !ae.value) try {
|
|
@@ -191253,7 +191253,7 @@ var gBe = { class: "video-call-template" }, _Be = {
|
|
|
191253
191253
|
return e ? { localVideoStreams: [e] } : void 0;
|
|
191254
191254
|
}
|
|
191255
191255
|
async function Te() {
|
|
191256
|
-
console.log("StartCall");
|
|
191256
|
+
console.log("StartCall", i.participant);
|
|
191257
191257
|
try {
|
|
191258
191258
|
let e = { videoOptions: await we() }, t = [{ communicationUserId: i.participant.videoCallIdentityId }];
|
|
191259
191259
|
T.call = T.agent.startCall(t, e), je(), Oe();
|