mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-02-09 10:30:17 +01:00
suppr du delay pour benchmark
This commit is contained in:
@@ -12,8 +12,6 @@ class CameraEditor {
|
||||
this.images = {};
|
||||
this._startup();
|
||||
this._loadImages();
|
||||
this.startupTime;
|
||||
this.frameCount = 0;
|
||||
}
|
||||
|
||||
_startup() {
|
||||
@@ -61,10 +59,6 @@ class CameraEditor {
|
||||
}
|
||||
|
||||
_frame() {
|
||||
if(this.startupTime == undefined){
|
||||
this.startupTime = Date.now();
|
||||
}
|
||||
this.frameCount++;
|
||||
const context = canvas.getContext("2d");
|
||||
if(this.streaming) {
|
||||
if (this.width && this.height) {
|
||||
|
||||
Reference in New Issue
Block a user