2022-03-16 12:15:22 +01:00
|
|
|
<div class="container" id="prejoin-container" fxLayout.gt-sm="row" fxLayout.lt-md="column">
|
2022-03-11 11:41:31 +01:00
|
|
|
<div fxFlex.gt-sm="65%" fxFlex.lt-md="55%" fxLayoutAlign="center center" id="layout-container">
|
2022-04-25 16:17:32 +02:00
|
|
|
<ov-session [usedInPrejoinPage]="true">
|
|
|
|
<ng-template #panel *ngIf="!isMinimal && showBackgroundEffectsButton">
|
|
|
|
<ov-panel>
|
|
|
|
<ng-template #backgroundEffectsPanel>
|
|
|
|
<ov-background-effects-panel></ov-background-effects-panel>
|
|
|
|
</ng-template>
|
|
|
|
</ov-panel>
|
2022-03-02 11:00:58 +01:00
|
|
|
</ng-template>
|
2022-04-25 16:17:32 +02:00
|
|
|
|
|
|
|
<ng-template #layout>
|
|
|
|
<ov-layout>
|
|
|
|
<ng-template #stream let-stream>
|
|
|
|
<button
|
2022-04-29 12:46:51 +02:00
|
|
|
*ngIf="!isMinimal && showBackgroundEffectsButton"
|
2022-04-25 16:17:32 +02:00
|
|
|
mat-icon-button
|
|
|
|
id="background-effects-btn"
|
|
|
|
(click)="toggleBackgroundEffects()"
|
|
|
|
>
|
|
|
|
<mat-icon>auto_awesome</mat-icon>
|
|
|
|
</button>
|
|
|
|
<ov-stream [stream]="stream" [displayParticipantName]="false" [settingsButton]="false"></ov-stream>
|
|
|
|
</ng-template>
|
|
|
|
</ov-layout>
|
|
|
|
</ng-template>
|
|
|
|
</ov-session>
|
2022-03-02 11:00:58 +01:00
|
|
|
</div>
|
2022-03-03 10:59:17 +01:00
|
|
|
<div fxFlex.gt-sm="35%" fxFlex.lt-md="45%" fxLayoutAlign="center center" class="media-panel" *ngIf="localParticipant">
|
2022-03-02 11:00:58 +01:00
|
|
|
<div fxLayout="column" fxLayoutGap="10px" class="media-panel-container">
|
|
|
|
<div fxLayout.gt-sm="column" fxLayout.lt-md="column" fxLayoutGap="10px" fxFlex="33%">
|
|
|
|
<div fxFlex.gt-sm="100%" fxFlex.lt-md="33%" fxLayoutAlign="center center" fxFlexFill class="nickname-container">
|
|
|
|
<h4 *ngIf="windowSize >= 960">Set your name</h4>
|
2022-04-25 16:17:32 +02:00
|
|
|
<hr *ngIf="windowSize >= 960" />
|
2022-03-02 11:00:58 +01:00
|
|
|
<div id="nickname-input-container">
|
2022-04-25 16:17:32 +02:00
|
|
|
<button mat-icon-button disabled>
|
2022-03-02 11:00:58 +01:00
|
|
|
<mat-icon>person</mat-icon>
|
|
|
|
</button>
|
|
|
|
<mat-form-field appearance="standard">
|
|
|
|
<mat-label>Nickname</mat-label>
|
2022-04-25 16:17:32 +02:00
|
|
|
<input
|
|
|
|
matInput
|
|
|
|
type="text"
|
|
|
|
maxlength="20"
|
|
|
|
[(ngModel)]="nickname"
|
|
|
|
(change)="updateNickname()"
|
|
|
|
autocomplete="off"
|
|
|
|
/>
|
2022-03-02 11:00:58 +01:00
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
<!-- <mat-button-toggle-group style="border-radius: 20px">
|
|
|
|
<button mat-icon-button class="media-btn">
|
|
|
|
<mat-icon matTooltip="Mute your audio">mic</mat-icon>
|
|
|
|
</button>
|
|
|
|
<mat-button-toggle class="split-button-1 drop-down-button" [matMenuTriggerFor]="dropdownMenuOne">
|
|
|
|
<mat-icon>arrow_drop_down</mat-icon>
|
|
|
|
</mat-button-toggle>
|
|
|
|
</mat-button-toggle-group>
|
|
|
|
|
|
|
|
<mat-menu #dropdownMenuOne="matMenu">
|
|
|
|
<button mat-menu-item>One</button>
|
|
|
|
<button mat-menu-item>Two</button>
|
|
|
|
<button mat-menu-item>Three</button>
|
|
|
|
</mat-menu> -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div fxFlex.gt-sm="100%" fxFlex.lt-md="33%" fxLayoutAlign="center center" fxFlexFill class="buttons-container">
|
|
|
|
<h4 *ngIf="windowSize >= 960">Choose your devices</h4>
|
2022-04-25 16:17:32 +02:00
|
|
|
<hr *ngIf="windowSize >= 960" />
|
2022-03-02 11:00:58 +01:00
|
|
|
<!-- Camera -->
|
|
|
|
<div class="device-container-element">
|
|
|
|
<button
|
|
|
|
mat-icon-button
|
|
|
|
id="camera-button"
|
2022-05-05 14:03:41 +02:00
|
|
|
[disabled]="!hasVideoDevices || videoMuteChanging"
|
2022-03-02 11:00:58 +01:00
|
|
|
[class.warn-btn]="isVideoMuted"
|
|
|
|
(click)="toggleCam()"
|
|
|
|
>
|
2022-03-16 12:15:22 +01:00
|
|
|
<mat-icon *ngIf="!isVideoMuted" matTooltip="Mute Camera" id="videocam">videocam</mat-icon>
|
|
|
|
<mat-icon *ngIf="isVideoMuted" matTooltip="Unmute Camera" id="videocam_off">videocam_off</mat-icon>
|
2022-03-02 11:00:58 +01:00
|
|
|
</button>
|
|
|
|
<mat-form-field>
|
|
|
|
<mat-label>Video devices</mat-label>
|
2022-04-25 16:17:32 +02:00
|
|
|
<mat-select
|
|
|
|
[disabled]="isVideoMuted || !hasVideoDevices"
|
|
|
|
[value]="cameraSelected?.device"
|
|
|
|
(selectionChange)="onCameraSelected($event)"
|
|
|
|
>
|
2022-03-02 11:00:58 +01:00
|
|
|
<mat-option *ngFor="let camera of cameras" [value]="camera.device">
|
|
|
|
{{ camera.label }}
|
|
|
|
</mat-option>
|
|
|
|
</mat-select>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Microphone -->
|
|
|
|
<div class="device-container-element">
|
|
|
|
<button
|
|
|
|
mat-icon-button
|
|
|
|
id="microhpone-button"
|
|
|
|
[disabled]="!hasAudioDevices"
|
|
|
|
[class.warn-btn]="isAudioMuted"
|
|
|
|
(click)="toggleMic()"
|
|
|
|
>
|
2022-03-16 12:15:22 +01:00
|
|
|
<mat-icon *ngIf="!isAudioMuted" matTooltip="Mute Audio" id="mic">mic</mat-icon>
|
|
|
|
<mat-icon *ngIf="isAudioMuted" matTooltip="Unmute Audio" id="mic_off">mic_off</mat-icon>
|
2022-03-02 11:00:58 +01:00
|
|
|
</button>
|
|
|
|
<mat-form-field>
|
|
|
|
<mat-label>Audio devices</mat-label>
|
2022-04-25 16:17:32 +02:00
|
|
|
<mat-select
|
|
|
|
[disabled]="isAudioMuted || !hasAudioDevices"
|
|
|
|
[value]="microphoneSelected?.device"
|
|
|
|
(selectionChange)="onMicrophoneSelected($event)"
|
|
|
|
>
|
2022-03-02 11:00:58 +01:00
|
|
|
<mat-option *ngFor="let microphone of microphones" [value]="microphone.device">
|
|
|
|
{{ microphone.label }}
|
|
|
|
</mat-option>
|
|
|
|
</mat-select>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div fxFlex.gt-sm="60%" fxLayout.lt-md="column" fxLayoutAlign="center center" fxFlexFill class="join-btn-container">
|
|
|
|
<button mat-flat-button (click)="joinSession()" form="nicknameForm" id="join-button">Join session</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|