@vgroup/dialbox 0.4.107 → 0.4.109
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.
|
@@ -1892,7 +1892,7 @@ class CallProgressComponent {
|
|
|
1892
1892
|
this.isRinging = true;
|
|
1893
1893
|
}
|
|
1894
1894
|
else if (!(incomingData === null || incomingData === void 0 ? void 0 : incomingData.id) && this.isRinging) {
|
|
1895
|
-
|
|
1895
|
+
this.incomingAudio.pause();
|
|
1896
1896
|
this.incomingAudio.currentTime = 0;
|
|
1897
1897
|
this.isRinging = false;
|
|
1898
1898
|
}
|
|
@@ -1909,6 +1909,9 @@ class CallProgressComponent {
|
|
|
1909
1909
|
this.cdr.detectChanges();
|
|
1910
1910
|
this.currentCallList = [];
|
|
1911
1911
|
this.currentCall = {};
|
|
1912
|
+
this.incomingAudio.pause();
|
|
1913
|
+
this.incomingAudio.currentTime = 0;
|
|
1914
|
+
this.isRinging = false;
|
|
1912
1915
|
this.isCallInProgress = false;
|
|
1913
1916
|
if (this.call) {
|
|
1914
1917
|
this.call.disconnect();
|