mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: final Angular v20 changes
parent
2ab28e3d41
commit
11063be327
|
|
@ -40,7 +40,7 @@
|
|||
"@types/jasmine": "~5.1.8",
|
||||
"@types/json-stringify-safe": "^5.0.3",
|
||||
"@types/lodash": "^4.17.18",
|
||||
"@types/node": "^22.15.33",
|
||||
"@types/node": "^24.7.0",
|
||||
"jasmine-core": "~5.12.0",
|
||||
"karma": "~6.4.4",
|
||||
"karma-chrome-launcher": "~3.2.0",
|
||||
|
|
@ -5562,13 +5562,13 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.18.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.8.tgz",
|
||||
"integrity": "sha512-pAZSHMiagDR7cARo/cch1f3rXy0AEXwsVsVH09FcyeJVAzCnGgmYis7P3JidtTUjyadhTeSo8TgRPswstghDaw==",
|
||||
"version": "24.7.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.7.0.tgz",
|
||||
"integrity": "sha512-IbKooQVqUBrlzWTi79E8Fw78l8k1RNtlDDNWsFZs7XonuQSJ8oNYfEeclhprUldXISRMLzBpILuKgPlIxm+/Yw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.21.0"
|
||||
"undici-types": "~7.14.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/node-forge": {
|
||||
|
|
@ -14837,9 +14837,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "6.21.0",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
|
||||
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
|
||||
"version": "7.14.0",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.14.0.tgz",
|
||||
"integrity": "sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
"@types/jasmine": "~5.1.8",
|
||||
"@types/json-stringify-safe": "^5.0.3",
|
||||
"@types/lodash": "^4.17.18",
|
||||
"@types/node": "^22.15.33",
|
||||
"@types/node": "^24.7.0",
|
||||
"jasmine-core": "~5.12.0",
|
||||
"karma": "~6.4.4",
|
||||
"karma-chrome-launcher": "~3.2.0",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, HostListener, Input } from '@angular/core';
|
||||
import { Component, HostListener, Inject, Input } from '@angular/core';
|
||||
|
||||
import { RoomConf } from '../test-sessions/test-sessions.component';
|
||||
import { LivekitParamsService } from 'src/app/services/livekit-params.service';
|
||||
|
|
@ -38,14 +38,14 @@ import {
|
|||
TestAppEvent,
|
||||
TestFeedService,
|
||||
} from 'src/app/services/test-feed.service';
|
||||
import { RoomEventCallbacks } from 'livekit-client/dist/src/room/Room';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { RoomApiDialogComponent } from '../dialogs/room-api-dialog/room-api-dialog.component';
|
||||
import { RoomApiService } from 'src/app/services/room-api.service';
|
||||
import { EventsDialogComponent } from '../dialogs/events-dialog/events-dialog.component';
|
||||
import { OptionsDialogComponent } from '../dialogs/options-dialog/options-dialog.component';
|
||||
import PCTransport from 'livekit-client/dist/src/room/PCTransport';
|
||||
import { InfoDialogComponent } from '../dialogs/info-dialog/info-dialog.component';
|
||||
import { RoomEventCallbacks } from 'node_modules/livekit-client/dist/src/room/Room';
|
||||
import PCTransport from 'node_modules/livekit-client/dist/src/room/PCTransport';
|
||||
|
||||
@Component({
|
||||
selector: 'app-openvidu-instance',
|
||||
|
|
@ -117,7 +117,7 @@ export class OpenviduInstanceComponent {
|
|||
private livekitParamsService: LivekitParamsService,
|
||||
private testFeedService: TestFeedService,
|
||||
private roomApiService: RoomApiService,
|
||||
private dialog: MatDialog
|
||||
@Inject(MatDialog) private dialog: MatDialog
|
||||
) {
|
||||
const roomForDefaults = new Room(this.roomOptions);
|
||||
this.roomOptions = roomForDefaults.options;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { Component, EventEmitter, Input, Output, Inject } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import {
|
||||
AudioCaptureOptions,
|
||||
|
|
@ -26,13 +26,13 @@ import {
|
|||
createLocalScreenTracks,
|
||||
createLocalVideoTrack,
|
||||
} from 'livekit-client';
|
||||
import { ParticipantEventCallbacks } from 'livekit-client/dist/src/room/participant/Participant';
|
||||
import { ParticipantPermission } from 'livekit-server-sdk';
|
||||
import {
|
||||
TestAppEvent,
|
||||
TestFeedService,
|
||||
} from 'src/app/services/test-feed.service';
|
||||
import { OptionsDialogComponent } from '../dialogs/options-dialog/options-dialog.component';
|
||||
import { ParticipantEventCallbacks } from 'node_modules/livekit-client/dist/src/room/participant/Participant';
|
||||
|
||||
@Component({
|
||||
selector: 'app-participant',
|
||||
|
|
@ -65,7 +65,7 @@ export class ParticipantComponent {
|
|||
|
||||
constructor(
|
||||
private testFeedService: TestFeedService,
|
||||
private dialog: MatDialog
|
||||
@Inject(MatDialog) private dialog: MatDialog
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import {
|
||||
LocalTrack,
|
||||
VideoTrack,
|
||||
|
|
@ -25,7 +25,7 @@ export class VideoTrackComponent extends TrackComponent {
|
|||
|
||||
constructor(
|
||||
protected override testFeedService: TestFeedService,
|
||||
private dialog: MatDialog
|
||||
@Inject(MatDialog) private dialog: MatDialog
|
||||
) {
|
||||
super(testFeedService);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue