2022-01-19 17:24:11 +01:00
|
|
|
<div
|
2022-02-07 10:43:21 +01:00
|
|
|
*ngIf="this._stream"
|
2022-02-24 13:02:00 +01:00
|
|
|
class="OT_widget-container no-size"
|
2022-02-07 10:43:21 +01:00
|
|
|
[id]="'container-' + this._stream.streamManager?.stream?.streamId"
|
2022-02-07 15:40:05 +01:00
|
|
|
#streamContainer
|
2022-01-19 17:24:11 +01:00
|
|
|
>
|
2022-02-21 17:33:23 +01:00
|
|
|
<div class="nickname" [class.fullscreen]="isFullscreen" *ngIf="showNickname">
|
2022-01-19 17:24:11 +01:00
|
|
|
<div (click)="toggleNicknameForm()" class="nicknameContainer" selected *ngIf="!toggleNickname">
|
2022-02-28 13:48:58 +01:00
|
|
|
<span id="nickname" *ngIf="this._stream.type === 'CAMERA'">{{ this._stream.participant.nickname }}</span>
|
|
|
|
<span id="nickname" *ngIf="this._stream.type === 'SCREEN'">{{ this._stream.participant.nickname }}_SCREEN</span>
|
2022-01-19 17:24:11 +01:00
|
|
|
</div>
|
2022-02-28 14:37:35 +01:00
|
|
|
<div *ngIf="toggleNickname && !this._stream.streamManager?.remote" [class.fullscreen]="isFullscreen" id="nickname-input-container">
|
|
|
|
<input
|
|
|
|
matInput
|
|
|
|
#nicknameInput
|
|
|
|
autocomplete="off"
|
|
|
|
maxlength="20"
|
|
|
|
[(ngModel)]="this.nickname"
|
|
|
|
(keypress)="updateNickname($event)"
|
|
|
|
(focusout)="updateNickname($event)"
|
|
|
|
/>
|
2022-01-19 17:24:11 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-02-21 17:33:23 +01:00
|
|
|
<div id="audio-wave-container" *ngIf="showAudioDetection && _stream.type === 'CAMERA'">
|
2022-02-11 16:26:46 +01:00
|
|
|
<ov-audio-wave [streamManager]="_stream.streamManager"></ov-audio-wave>
|
|
|
|
</div>
|
|
|
|
|
2022-03-02 11:02:06 +01:00
|
|
|
<ov-avatar-profile
|
|
|
|
*ngIf="!_stream.streamManager?.stream?.videoActive && _stream.type === 'CAMERA'"
|
|
|
|
[name]="_stream.participant.nickname"
|
|
|
|
[color]="_stream.participant.colorProfile"
|
|
|
|
></ov-avatar-profile>
|
|
|
|
|
2022-01-19 17:24:11 +01:00
|
|
|
<ov-video
|
2022-02-07 15:40:05 +01:00
|
|
|
(dblclick)="toggleVideoEnlarged()"
|
2022-02-11 16:26:46 +01:00
|
|
|
[streamManager]="_stream.streamManager"
|
2022-02-28 13:48:58 +01:00
|
|
|
[mutedSound]="_stream?.participant?.isMutedForcibly"
|
2022-01-19 17:24:11 +01:00
|
|
|
></ov-video>
|
|
|
|
|
|
|
|
<div class="status-icons">
|
2022-02-07 10:43:21 +01:00
|
|
|
<button mat-icon-button id="statusMic" *ngIf="!this._stream.streamManager?.stream?.audioActive" disabled>
|
2022-01-19 17:24:11 +01:00
|
|
|
<mat-icon>mic_off</mat-icon>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
2022-02-21 17:33:23 +01:00
|
|
|
<div class="videoButtons" *ngIf="showSettings">
|
2022-01-19 17:24:11 +01:00
|
|
|
<button mat-icon-button (click)="toggleVideoMenu($event)" matTooltip="Settings" aria-label="Video settings menu">
|
|
|
|
<mat-icon>more_vert</mat-icon>
|
|
|
|
</button>
|
|
|
|
<span [matMenuTriggerFor]="menu"></span>
|
|
|
|
<mat-menu #menu="matMenu" yPosition="above" xPosition="before">
|
2022-02-07 15:40:05 +01:00
|
|
|
<button mat-menu-item id="videoZoomButton" (click)="toggleVideoEnlarged()">
|
2022-01-19 17:24:11 +01:00
|
|
|
<mat-icon>{{ this.videoSizeIcon }}</mat-icon>
|
|
|
|
<span *ngIf="videoSizeIcon === videoSizeIconEnum.NORMAL">Zoom out</span>
|
|
|
|
<span *ngIf="videoSizeIcon === videoSizeIconEnum.BIG">Zoom in</span>
|
|
|
|
</button>
|
2022-02-28 13:06:39 +01:00
|
|
|
<button mat-menu-item id="volumeButton" *ngIf="!this._stream.local" (click)="toggleSound()">
|
|
|
|
<mat-icon *ngIf="!_stream.participant.isMutedForcibly">volume_up</mat-icon>
|
|
|
|
<span *ngIf="!_stream.participant.isMutedForcibly">Mute sound</span>
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-02-28 13:06:39 +01:00
|
|
|
<mat-icon *ngIf="_stream.participant.isMutedForcibly">volume_off</mat-icon>
|
|
|
|
<span *ngIf="_stream.participant.isMutedForcibly">Unmute sound</span>
|
2022-01-19 17:24:11 +01:00
|
|
|
</button>
|
2022-02-07 10:43:21 +01:00
|
|
|
<!-- <button mat-menu-item *ngIf="this._stream.streamManager?.stream?.videoActive" id="fullscreenButton" (click)="toggleFullscreen()">
|
2022-01-19 17:24:11 +01:00
|
|
|
<mat-icon *ngIf="!isFullscreenEnabled">fullscreen</mat-icon>
|
|
|
|
<span *ngIf="!isFullscreenEnabled">Fullscreen</span>
|
|
|
|
|
|
|
|
<mat-icon *ngIf="isFullscreenEnabled">fullscreen_exit</mat-icon>
|
|
|
|
<span *ngIf="isFullscreenEnabled">Exit fullscreen</span>
|
|
|
|
</button> -->
|
|
|
|
|
|
|
|
<button
|
|
|
|
mat-menu-item
|
|
|
|
(click)="replaceScreenTrack()"
|
|
|
|
id="changeScreenButton"
|
2022-02-07 10:43:21 +01:00
|
|
|
*ngIf="!this._stream.streamManager?.remote && this._stream.streamManager?.stream?.typeOfVideo === videoTypeEnum.SCREEN"
|
2022-01-19 17:24:11 +01:00
|
|
|
>
|
|
|
|
<mat-icon>picture_in_picture</mat-icon>
|
|
|
|
<span>Replace screen</span>
|
|
|
|
</button>
|
|
|
|
</mat-menu>
|
|
|
|
</div>
|
|
|
|
</div>
|