From 5433f516a9aaf7001b70b5477c913c507ba496d4 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Wed, 30 Apr 2025 14:54:26 +0200 Subject: [PATCH] ov-components: remove redundant background processor removal logic in virtual background service --- .../services/virtual-background/virtual-background.service.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openvidu-components-angular/projects/openvidu-components-angular/src/lib/services/virtual-background/virtual-background.service.ts b/openvidu-components-angular/projects/openvidu-components-angular/src/lib/services/virtual-background/virtual-background.service.ts index 0c839b5a..377c5696 100644 --- a/openvidu-components-angular/projects/openvidu-components-angular/src/lib/services/virtual-background/virtual-background.service.ts +++ b/openvidu-components-angular/projects/openvidu-components-angular/src/lib/services/virtual-background/virtual-background.service.ts @@ -104,10 +104,6 @@ export class VirtualBackgroundService { this.log.e('No processor found for the background effect.'); return; } - // If there is a current processor, remove it before applying the new one - if (currentProcessor) { - await this.removeBackground(); - } await this.applyProcessorToCameraTracks(cameraTracks, newProcessor); }