|
@@ -11,6 +11,8 @@ const USER_ID = "987412365"
|
|
, COS_PREFIX = "error-bitstreams-auto-uploaded-from-application/"
|
|
, COS_PREFIX = "error-bitstreams-auto-uploaded-from-application/"
|
|
, FRAME_COMPOSE_LENGTH = 5;
|
|
, FRAME_COMPOSE_LENGTH = 5;
|
|
|
|
|
|
|
|
+let count = 0
|
|
|
|
+
|
|
import CircularArray from "./CircularArray.js"
|
|
import CircularArray from "./CircularArray.js"
|
|
|
|
|
|
export default class Workers {
|
|
export default class Workers {
|
|
@@ -572,11 +574,11 @@ export default class Workers {
|
|
break
|
|
break
|
|
}
|
|
}
|
|
case 5:
|
|
case 5:
|
|
- this.executeFunction("signal", {
|
|
|
|
- signal: n.data.metadata,
|
|
|
|
- pts: -1,
|
|
|
|
- alreadyUpdateYUV: !1
|
|
|
|
- });
|
|
|
|
|
|
+ // this.executeFunction("signal", {
|
|
|
|
+ // signal: n.data.metadata,
|
|
|
|
+ // pts: -1,
|
|
|
|
+ // alreadyUpdateYUV: !1
|
|
|
|
+ // });
|
|
break;
|
|
break;
|
|
case 6:
|
|
case 6:
|
|
defaultLogger.infoAndReportMeasurement(n.data),
|
|
defaultLogger.infoAndReportMeasurement(n.data),
|
|
@@ -625,6 +627,10 @@ export default class Workers {
|
|
)
|
|
)
|
|
}
|
|
}
|
|
UpdateYUV() {
|
|
UpdateYUV() {
|
|
|
|
+ ++count
|
|
|
|
+ if(count>100){
|
|
|
|
+ return
|
|
|
|
+ }
|
|
var t, r;
|
|
var t, r;
|
|
const e = this.getPtr;
|
|
const e = this.getPtr;
|
|
if (this.cachedMetas[e] != null && !this.cachedRender[e]) {
|
|
if (this.cachedMetas[e] != null && !this.cachedRender[e]) {
|
|
@@ -686,6 +692,8 @@ export default class Workers {
|
|
// this.moveDisplayCircular.add(f),
|
|
// this.moveDisplayCircular.add(f),
|
|
// this.lastMoveDisplayTime = h
|
|
// this.lastMoveDisplayTime = h
|
|
// }
|
|
// }
|
|
|
|
+
|
|
|
|
+
|
|
this.executeFunction("signal", {
|
|
this.executeFunction("signal", {
|
|
signal: this.cachedMetas[e],
|
|
signal: this.cachedMetas[e],
|
|
pts: this.cachedPtss[e],
|
|
pts: this.cachedPtss[e],
|
|
@@ -693,6 +701,7 @@ export default class Workers {
|
|
})
|
|
})
|
|
this.cachedRender[e] = !0;
|
|
this.cachedRender[e] = !0;
|
|
this.getPtr = (this.getPtr + 1) % this.cachedLength
|
|
this.getPtr = (this.getPtr + 1) % this.cachedLength
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
unmarshalPano(e) {
|
|
unmarshalPano(e) {
|