This commit is contained in:
Daniel Ponte 2025-02-03 08:33:27 -05:00
parent cea7704778
commit 4d5dfb94cd

View file

@ -30,7 +30,11 @@ export class CallPlayerComponent {
this.playSub.unsubscribe();
});
this.playing = true;
if (this.call.audioURL != null) {
this.au.src = this.call.audioURL;
} else {
this.au.src = this.callsSvc.callAudioURL(this.call.id);
}
this.au.load();
this.au.play().then(null, (reason) => {
this.playing = false;