diff --git a/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.html b/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.html index 653b08c527..dc14798a98 100644 --- a/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.html +++ b/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.html @@ -20,9 +20,11 @@

OPTIONS

Custom
- + deviceId - + + {{'[' + device.label + '] ' + device.deviceId}} + facingMode diff --git a/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.ts b/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.ts index d65a6750b8..92f1def4fa 100644 --- a/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.ts +++ b/openvidu-testapp/src/app/components/dialogs/options-dialog/options-dialog.component.ts @@ -39,6 +39,8 @@ export class OptionsDialogComponent { ENUMERATION_SOURCE = Object.keys(Track.Source); + inputVideoDevices: MediaDeviceInfo[] = []; + constructor( public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) @@ -98,6 +100,9 @@ export class OptionsDialogComponent { if (this.data.allowDisablingScreen === false) { this.allowDisablingScreen = false; } + Room.getLocalDevices('videoinput').then((devices) => { + this.inputVideoDevices = devices; + }); } returnValues() { diff --git a/openvidu-testapp/src/app/components/video-track/video-track.component.ts b/openvidu-testapp/src/app/components/video-track/video-track.component.ts index 93be9b0176..54d009d132 100644 --- a/openvidu-testapp/src/app/components/video-track/video-track.component.ts +++ b/openvidu-testapp/src/app/components/video-track/video-track.component.ts @@ -111,7 +111,7 @@ export class VideoTrackComponent extends TrackComponent { toggleVideoZoom() { this.videoZoom = !this.videoZoom; - let newWidth = this.videoZoom ? '720px' : '120px'; + let newWidth = this.videoZoom ? '1500px' : '120px'; this.elementRef.nativeElement.style.width = newWidth; } }