opensips-js-vue 0.1.33 → 0.1.35
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.
- package/library/super.mjs +4 -2
- package/library/super.mjs.map +1 -1
- package/library/super.umd.js +1 -1
- package/library/super.umd.js.map +1 -1
- package/package.json +2 -2
package/library/super.mjs
CHANGED
|
@@ -23506,7 +23506,7 @@ class YI {
|
|
|
23506
23506
|
this.resumePromise = null, this.context = new AudioContext(), this.setupErrorHandling();
|
|
23507
23507
|
}
|
|
23508
23508
|
setupErrorHandling() {
|
|
23509
|
-
this.context.addEventListener("statechange", () => {
|
|
23509
|
+
!this.context || typeof this.context.addEventListener != "function" || this.context.addEventListener("statechange", () => {
|
|
23510
23510
|
(this.context.state === "interrupted" || this.context.state === "closed") && console.warn(`[ManagedAudioContext] AudioContext state changed to: ${this.context.state}`);
|
|
23511
23511
|
});
|
|
23512
23512
|
}
|
|
@@ -24611,7 +24611,9 @@ class JI {
|
|
|
24611
24611
|
});
|
|
24612
24612
|
}
|
|
24613
24613
|
const g = c, d = this.hasAutoAnswerHeaders(n), E = g.direction === "incoming" && !this.hasActiveCalls && (d || this.autoAnswer);
|
|
24614
|
-
g.roomId = e, g.localMuted = !1, g.autoAnswer = E, E ? this.addCall(g, !1) : this.addCall(g), this.addCallStatus(c.id), this.addRoom(_), E &&
|
|
24614
|
+
g.roomId = e, g.localMuted = !1, g.autoAnswer = E, E ? this.addCall(g, !1) : this.addCall(g), this.addCallStatus(c.id), this.addRoom(_), E && setTimeout(() => {
|
|
24615
|
+
this.answerCall(g._id);
|
|
24616
|
+
}, 250);
|
|
24615
24617
|
}
|
|
24616
24618
|
removeCall(n) {
|
|
24617
24619
|
const r = { ...this.activeCalls };
|