@vgroup/dialbox 0.4.106 → 0.4.107
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/esm2020/lib/components/call-progress/audio_base64.base64.mjs +2 -0
- package/esm2020/lib/components/call-progress/call-progress.component.mjs +9 -5
- package/fesm2015/vgroup-dialbox.mjs +7 -3
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +7 -3
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
- package/esm2020/lib/shared/audio_base64.base64.mjs +0 -2
- /package/lib/{shared → components/call-progress}/audio_base64.base64.d.ts +0 -0
|
@@ -1882,13 +1882,17 @@ class CallProgressComponent {
|
|
|
1882
1882
|
this.cdr.detectChanges();
|
|
1883
1883
|
let incomingData = this.currentCallList.find((res) => res.isIncomingCall && !res.isAcceptCall);
|
|
1884
1884
|
if ((incomingData === null || incomingData === void 0 ? void 0 : incomingData.id) && !this.isRinging) {
|
|
1885
|
-
this.incomingAudio.
|
|
1886
|
-
|
|
1885
|
+
this.incomingAudio.volume = 0;
|
|
1886
|
+
this.incomingAudio.play().then(() => {
|
|
1887
|
+
// this.incomingAudio.pause();
|
|
1888
|
+
// this.incomingAudio.currentTime = 0;
|
|
1889
|
+
this.incomingAudio.volume = 1;
|
|
1890
|
+
// this.audioUnlocked = true;
|
|
1887
1891
|
});
|
|
1888
1892
|
this.isRinging = true;
|
|
1889
1893
|
}
|
|
1890
1894
|
else if (!(incomingData === null || incomingData === void 0 ? void 0 : incomingData.id) && this.isRinging) {
|
|
1891
|
-
this.incomingAudio.pause();
|
|
1895
|
+
// this.incomingAudio.pause();
|
|
1892
1896
|
this.incomingAudio.currentTime = 0;
|
|
1893
1897
|
this.isRinging = false;
|
|
1894
1898
|
}
|