fix config usage
This commit is contained in:
parent
26ac618ddf
commit
fca688a1f7
@ -1,7 +1,6 @@
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
|
||||
import { OverlayService } from './overlay.service';
|
||||
|
@ -187,8 +187,8 @@ export class JitsiComponent extends BaseViewComponentDirective implements OnInit
|
||||
startAudioOnly: false,
|
||||
// allows jitsi on mobile devices
|
||||
disableDeepLinking: true,
|
||||
startWithAudioMuted: this.startWithMicMuted,
|
||||
startWithVideoMuted: this.startWithVideoMuted,
|
||||
startWithAudioMuted: false,
|
||||
startWithVideoMuted: false,
|
||||
useNicks: true,
|
||||
enableWelcomePage: false,
|
||||
enableUserRolesBasedOnToken: false,
|
||||
@ -345,12 +345,14 @@ export class JitsiComponent extends BaseViewComponentDirective implements OnInit
|
||||
this.videoStreamUrl = url;
|
||||
this.configsLoaded.resolve();
|
||||
}),
|
||||
this.configService.get<boolean>('general_system_conference_open_microphon').subscribe(open => {
|
||||
this.configService.get<boolean>('general_system_conference_open_microphone').subscribe(open => {
|
||||
this.startWithMicMuted = !open;
|
||||
this.configOverwrite.startWithAudioMuted = this.startWithMicMuted;
|
||||
console.log('this.startWithMicMuted ', this.startWithMicMuted);
|
||||
}),
|
||||
this.configService.get<boolean>('general_system_conference_open_video').subscribe(open => {
|
||||
this.startWithVideoMuted = !open;
|
||||
this.configOverwrite.startWithVideoMuted = this.startWithVideoMuted;
|
||||
console.log('this.startWithVideoMuted ', this.startWithVideoMuted);
|
||||
})
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user