@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.
|
@@ -1930,8 +1930,10 @@ class CallProgressComponent {
|
|
|
1930
1930
|
this.incomingAudio.volume = 1;
|
|
1931
1931
|
// this.audioUnlocked = true;
|
|
1932
1932
|
})
|
|
1933
|
-
.catch((err) => {
|
|
1933
|
+
.catch(async (err) => {
|
|
1934
1934
|
console.error(err);
|
|
1935
|
+
this.incomingAudio = await this.createAudioFromBase64(INCOMING_CALL_AUDIO_BASE64, 'audio/mpeg');
|
|
1936
|
+
this.incomingAudio.play().then(() => this.incomingAudio.volume = 1);
|
|
1935
1937
|
});
|
|
1936
1938
|
this.isRinging = true;
|
|
1937
1939
|
}
|