diff --git a/web/js/MonitorStream.js b/web/js/MonitorStream.js index bf3a887cc..baed62744 100644 --- a/web/js/MonitorStream.js +++ b/web/js/MonitorStream.js @@ -416,7 +416,9 @@ function MonitorStream(monitorData) { (e) => { this.writeTextInfoBlock("Paused", {showImg: false}); manageEventListener.removeEventListener(this.handlerEventListener['volumechange']); - pauseAudioMotion(this.id); + if (typeof pauseAudioMotion === 'function') { + pauseAudioMotion(this.id); + } } ); };