@vgroup/dialbox 0.4.113 → 0.4.114
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.
|
@@ -1881,9 +1881,11 @@ class CallProgressComponent {
|
|
|
1881
1881
|
this.incomingAudio.volume = 1;
|
|
1882
1882
|
// this.audioUnlocked = true;
|
|
1883
1883
|
})
|
|
1884
|
-
.catch((err) => {
|
|
1884
|
+
.catch((err) => __awaiter(this, void 0, void 0, function* () {
|
|
1885
1885
|
console.error(err);
|
|
1886
|
-
|
|
1886
|
+
this.incomingAudio = yield this.createAudioFromBase64(INCOMING_CALL_AUDIO_BASE64, 'audio/mpeg');
|
|
1887
|
+
this.incomingAudio.play().then(() => this.incomingAudio.volume = 1);
|
|
1888
|
+
}));
|
|
1887
1889
|
this.isRinging = true;
|
|
1888
1890
|
}
|
|
1889
1891
|
else if (!(incomingData === null || incomingData === void 0 ? void 0 : incomingData.id) && this.isRinging) {
|