@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
|
@@ -1931,13 +1931,17 @@ class CallProgressComponent {
|
|
|
1931
1931
|
this.cdr.detectChanges();
|
|
1932
1932
|
let incomingData = this.currentCallList.find((res) => res.isIncomingCall && !res.isAcceptCall);
|
|
1933
1933
|
if (incomingData?.id && !this.isRinging) {
|
|
1934
|
-
this.incomingAudio.
|
|
1935
|
-
|
|
1934
|
+
this.incomingAudio.volume = 0;
|
|
1935
|
+
this.incomingAudio.play().then(() => {
|
|
1936
|
+
// this.incomingAudio.pause();
|
|
1937
|
+
// this.incomingAudio.currentTime = 0;
|
|
1938
|
+
this.incomingAudio.volume = 1;
|
|
1939
|
+
// this.audioUnlocked = true;
|
|
1936
1940
|
});
|
|
1937
1941
|
this.isRinging = true;
|
|
1938
1942
|
}
|
|
1939
1943
|
else if (!incomingData?.id && this.isRinging) {
|
|
1940
|
-
this.incomingAudio.pause();
|
|
1944
|
+
// this.incomingAudio.pause();
|
|
1941
1945
|
this.incomingAudio.currentTime = 0;
|
|
1942
1946
|
this.isRinging = false;
|
|
1943
1947
|
}
|