Index: openacs-4/packages/proctoring-support/www/resources/proctoring.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/www/resources/proctoring.js,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/proctoring-support/www/resources/proctoring.js 7 Oct 2020 08:34:20 -0000 1.1.2.4 +++ openacs-4/packages/proctoring-support/www/resources/proctoring.js 7 Oct 2020 09:10:13 -0000 1.1.2.5 @@ -530,11 +530,18 @@ this.numCheckedStreams == this.numStreams) { for (var i = 0; i < this.streams.length; i++) { var streamName = this.streamNames[i]; - if (!this.checkStream(this.streams[i], streamName)) { + var video = this.videos[i]; + try { + if (!this.checkStream(this.streams[i], streamName)) { + throw this.streamErrors[i]; + } else if (this.ready && video.paused) { + throw "Video acquisition appears to have stopped."; + } + } catch (e) { + console.error(e); this.isMissingStreams = true; if (typeof this.onMissingStreamHandler == 'function') { - var err = this.streamErrors[i]; - this.onMissingStreamHandler(streamName, err); + this.onMissingStreamHandler(streamName, e.message); } } }