diff --git a/openvidu-testapp/src/app/app.module.ts b/openvidu-testapp/src/app/app.module.ts index baf862d8..3de65373 100644 --- a/openvidu-testapp/src/app/app.module.ts +++ b/openvidu-testapp/src/app/app.module.ts @@ -33,6 +33,7 @@ import { OpenviduParamsService } from './services/openvidu-params.service'; import { TestFeedService } from './services/test-feed.service'; import { MuteSubscribersService } from './services/mute-subscribers.service'; import { SessionInfoDialogComponent } from "./components/dialogs/session-info-dialog/session-info-dialog.component"; +import { ShowIceServerConfiguredDialog } from './components/dialogs/show-configured-ice/show-configured-ice.component'; @NgModule({ declarations: [ @@ -53,6 +54,7 @@ import { SessionInfoDialogComponent } from "./components/dialogs/session-info-di ScenarioPropertiesDialogComponent, FilterDialogComponent, ShowCodecDialogComponent, + ShowIceServerConfiguredDialog, SessionInfoDialogComponent, UsersTableComponent, TableVideoComponent @@ -82,6 +84,7 @@ import { SessionInfoDialogComponent } from "./components/dialogs/session-info-di ScenarioPropertiesDialogComponent, FilterDialogComponent, ShowCodecDialogComponent, + ShowIceServerConfiguredDialog, SessionInfoDialogComponent ], bootstrap: [AppComponent] diff --git a/openvidu-testapp/src/app/components/dialogs/show-configured-ice/show-configured-ice.component.ts b/openvidu-testapp/src/app/components/dialogs/show-configured-ice/show-configured-ice.component.ts new file mode 100644 index 00000000..9123a930 --- /dev/null +++ b/openvidu-testapp/src/app/components/dialogs/show-configured-ice/show-configured-ice.component.ts @@ -0,0 +1,37 @@ +import { Component, Inject } from '@angular/core'; +import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material'; + + +@Component({ + selector: 'app-ice-configured-dialog', + template: ` +
+ +
+ `, + styles: [` + #app-ice-configured-dialog-container { + text-align: center + } + `] +}) +export class ShowIceServerConfiguredDialog { + + iceServerList: RTCIceServer[] + + constructor(public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data) { + this.iceServerList = data.iceServerList; + } +} diff --git a/openvidu-testapp/src/app/components/video/video.component.html b/openvidu-testapp/src/app/components/video/video.component.html index aa59f1fd..7349a08f 100644 --- a/openvidu-testapp/src/app/components/video/video.component.html +++ b/openvidu-testapp/src/app/components/video/video.component.html @@ -11,6 +11,9 @@ +
+