ov-components: update @livekit/track-processors to version 0.7.2 and clean up imports in openvidu.service.ts

This commit is contained in:
CSantosM 2026-03-02 17:11:47 +01:00
parent df4adc52a3
commit 1f4b6f34e8
3 changed files with 58 additions and 63 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
"@angular/platform-browser": "20.3.15",
"@angular/platform-browser-dynamic": "20.3.15",
"@angular/router": "20.3.15",
"@livekit/track-processors": "0.7.0",
"@livekit/track-processors": "0.7.2",
"@types/dom-mediacapture-transform": "0.1.11",
"autolinker": "4.1.5",
"livekit-client": "2.16.1",

View File

@ -1,9 +1,10 @@
import { Injectable, signal, Signal } from '@angular/core';
import {
BackgroundProcessor,
BackgroundProcessorWrapper,
supportsBackgroundProcessors,
supportsModernBackgroundProcessors,
/*BackgroundProcessorWrapper,*/ SwitchBackgroundProcessorOptions
SwitchBackgroundProcessorOptions
} from '@livekit/track-processors';
import {
AudioCaptureOptions,
@ -27,8 +28,6 @@ import { DeviceService } from '../device/device.service';
import { LoggerService } from '../logger/logger.service';
import { StorageService } from '../storage/storage.service';
// TODO: Remove this once livekit-client exports it
type BackgroundProcessorWrapper = ReturnType<typeof BackgroundProcessor>;
@Injectable({
providedIn: 'root'
})