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.22 -r1.1.2.23 --- openacs-4/packages/proctoring-support/www/resources/proctoring.js 10 Jul 2023 14:12:25 -0000 1.1.2.22 +++ openacs-4/packages/proctoring-support/www/resources/proctoring.js 29 Nov 2023 09:00:08 -0000 1.1.2.23 @@ -758,9 +758,16 @@ throw 'canvas is monochrome'; } + // // Check that we are not sending the same picture over and // over. - if (prevPicture && + // + // We can perform this check reliably only when the camera + // is recorded, because the desktop may be still for + // longer than the average picture interval. + // + if (streamName === 'camera' && + prevPicture && this.areCanvasEquals(canvas, prevPicture)) { throw 'you are sending the same identical picture twice.'; }