mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-03 14:17:59 +00:00
fixup! wip
This commit is contained in:
@@ -392,7 +392,6 @@ export class BackgroundCustomProcessor implements BackgroundProcessorInterface {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this._syncOutputCanvasSize()
|
this._syncOutputCanvasSize()
|
||||||
|
|
||||||
// No decoded frame available (e.g. right after a device switch): skip
|
// No decoded frame available (e.g. right after a device switch): skip
|
||||||
// this tick rather than processing a 0x0 source.
|
// this tick rather than processing a 0x0 source.
|
||||||
if (
|
if (
|
||||||
@@ -429,8 +428,6 @@ export class BackgroundCustomProcessor implements BackgroundProcessorInterface {
|
|||||||
}
|
}
|
||||||
this.consecutiveErrors += 1
|
this.consecutiveErrors += 1
|
||||||
if (this.consecutiveErrors >= MAX_CONSECUTIVE_ERRORS) {
|
if (this.consecutiveErrors >= MAX_CONSECUTIVE_ERRORS) {
|
||||||
// Degrade to passthrough: a working camera without the effect is
|
|
||||||
// better than a permanently frozen frame.
|
|
||||||
this.passthrough = true
|
this.passthrough = true
|
||||||
reportError('effects_processor_failure', error, {
|
reportError('effects_processor_failure', error, {
|
||||||
context:
|
context:
|
||||||
|
|||||||
Reference in New Issue
Block a user