mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Fixed background directive
parent
bad018a10e
commit
117e6647a9
|
@ -13,7 +13,7 @@
|
|||
<ov-layout>
|
||||
<ng-template #stream let-stream>
|
||||
<button
|
||||
*ngIf="!isMinimal && !isOpenViduCE && showBackgroundEffectsButton"
|
||||
*ngIf="!isMinimal && showBackgroundEffectsButton"
|
||||
mat-icon-button
|
||||
id="background-effects-btn"
|
||||
(click)="toggleBackgroundEffects()"
|
||||
|
|
|
@ -43,7 +43,6 @@ export class PreJoinComponent implements OnInit, OnDestroy {
|
|||
hasAudioDevices: boolean;
|
||||
isLoading = true;
|
||||
nickname: string;
|
||||
isOpenViduCE: boolean;
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
|
@ -81,7 +80,6 @@ export class PreJoinComponent implements OnInit, OnDestroy {
|
|||
ngOnInit() {
|
||||
this.subscribeToPrejoinDirectives();
|
||||
this.subscribeToLocalParticipantEvents();
|
||||
this.isOpenViduCE = this.openviduService.isOpenViduCE();
|
||||
|
||||
this.windowSize = window.innerWidth;
|
||||
this.hasVideoDevices = this.deviceSrv.hasVideoDeviceAvailable();
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<button
|
||||
mat-icon-button
|
||||
id="more-options-btn"
|
||||
*ngIf="!isMinimal && !isOpenViduCE && showBackgroundEffectsButton"
|
||||
*ngIf="!isMinimal && showBackgroundEffectsButton"
|
||||
[matMenuTriggerFor]="menu"
|
||||
[disabled]="isConnectionLost"
|
||||
>
|
||||
|
|
|
@ -283,11 +283,6 @@ export class ToolbarComponent implements OnInit, OnDestroy {
|
|||
*/
|
||||
isRecording: boolean = false;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
isOpenViduCE: boolean;
|
||||
|
||||
private log: ILogger;
|
||||
private minimalSub: Subscription;
|
||||
private panelTogglingSubscription: Subscription;
|
||||
|
@ -357,7 +352,6 @@ export class ToolbarComponent implements OnInit, OnDestroy {
|
|||
await this.oVDevicesService.initializeDevices();
|
||||
this.hasVideoDevices = this.oVDevicesService.hasVideoDeviceAvailable();
|
||||
this.hasAudioDevices = this.oVDevicesService.hasAudioDeviceAvailable();
|
||||
this.isOpenViduCE = this.openviduService.isOpenViduCE();
|
||||
this.session = this.openviduService.getWebcamSession();
|
||||
|
||||
this.subscribeToUserMediaProperties();
|
||||
|
|
|
@ -269,6 +269,7 @@ export class VideoconferenceComponent implements OnInit, OnDestroy, AfterViewIni
|
|||
this.openviduService.setOpenViduEdition(OpenViduEdition.PRO);
|
||||
} else {
|
||||
this.openviduService.setOpenViduEdition(OpenViduEdition.CE);
|
||||
this.libService.backgroundEffectsButton.next(false);
|
||||
}
|
||||
|
||||
if (tokens.screen) {
|
||||
|
|
Loading…
Reference in New Issue