ov-components: make changes compile library with latest livekit dependencies

master
Carlos Santos 2025-12-11 10:06:18 +01:00
parent 7c0333bf19
commit 3a5f0d28da
3 changed files with 8 additions and 2 deletions

View File

@ -10154,6 +10154,7 @@
"integrity": "sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.1",
@ -14279,6 +14280,7 @@
"integrity": "sha512-SL0JY3DaxylDuo/MecFeiC+7pedM0zia33zl0vcjgwcq1q1FWWF1To9EIauPbl8GbMCU0R2e0uJ8bZunhYKD2g==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"cli-truncate": "^4.0.0",
"colorette": "^2.0.20",
@ -21016,6 +21018,7 @@
"integrity": "sha512-uzcxnSDVjAopEUjljkWh8EIrg6tlzrjFUfMcR1EVsRDGwf/ccef0qQPRyOrROwhrTDaApueq+ja+KLPlzR/zdg==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"esbuild": "^0.25.0",
"fdir": "^6.5.0",
@ -21344,6 +21347,7 @@
"integrity": "sha512-QcQ72gh8a+7JO63TAx/6XZf/CWhgMzu5m0QirvPfGvptOusAxG12w2+aua1Jkjr7hzaWDnJ2n6JFeexMHI+Zjg==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"@types/bonjour": "^3.5.13",
"@types/connect-history-api-fallback": "^1.5.4",

View File

@ -1,4 +1,5 @@
import { Injectable } from '@angular/core';
import { BackgroundProcessor, /*BackgroundProcessorWrapper,*/ SwitchBackgroundProcessorOptions } from '@livekit/track-processors';
import {
AudioCaptureOptions,
ConnectionState,
@ -15,13 +16,14 @@ import {
VideoPresets,
createLocalTracks
} from 'livekit-client';
import { BackgroundProcessor, BackgroundProcessorWrapper, SwitchBackgroundProcessorOptions } from '@livekit/track-processors';
import { ILogger } from '../../models/logger.model';
import { OpenViduComponentsConfigService } from '../config/directive-config.service';
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'
})

View File

@ -6,7 +6,7 @@
"sourceMap": false,
"removeComments": true,
"pretty": false,
// "skipLibCheck": true // Livekit track processors fails with typescript types checking
"skipLibCheck": true // TODO Livekit track processors fails with typescript types checking
},
"angularCompilerOptions": {
"compilationMode": "partial"