mirror of https://github.com/OpenVidu/openvidu.git
ov-components: remove redundant background processor removal logic in virtual background service
parent
81fcae2d4e
commit
5433f516a9
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue