frontend: Remove unnecessary feature flags for recording and activity panel in VideoRoomComponent
This commit is contained in:
parent
a699bb3343
commit
60319cdafa
@ -7,17 +7,16 @@
|
||||
[prejoinDisplayParticipantName]="false"
|
||||
[videoEnabled]="featureFlags.videoEnabled"
|
||||
[audioEnabled]="featureFlags.audioEnabled"
|
||||
[recordingStreamBaseUrl]="'/meet/api/v1/recordings/'"
|
||||
[toolbarCameraButton]="featureFlags.showCamera"
|
||||
[toolbarMicrophoneButton]="featureFlags.showMicrophone"
|
||||
[toolbarScreenshareButton]="featureFlags.showScreenShare"
|
||||
[toolbarChatPanelButton]="featureFlags.showChat"
|
||||
[toolbarRecordingButton]="featureFlags.showRecording"
|
||||
[toolbarBroadcastingButton]="false"
|
||||
[activitiesPanelRecordingActivity]="featureFlags.showRecording"
|
||||
[activitiesPanelRecordingActivity]="false"
|
||||
[activitiesPanelBroadcastingActivity]="false"
|
||||
[toolbarBackgroundEffectsButton]="featureFlags.showBackgrounds"
|
||||
[toolbarActivitiesPanelButton]="featureFlags.showActivityPanel"
|
||||
[toolbarActivitiesPanelButton]="false"
|
||||
(onTokenRequested)="onTokenRequested($event)"
|
||||
(onParticipantConnected)="onParticipantConnected($event)"
|
||||
(onParticipantLeft)="onParticipantLeft($event)"
|
||||
|
||||
@ -32,14 +32,12 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
||||
chatPreferences: ChatPreferences = { enabled: true };
|
||||
recordingPreferences: RecordingPreferences = { enabled: true };
|
||||
virtualBackgroundPreferences: VirtualBackgroundPreferences = { enabled: true };
|
||||
|
||||
featureFlags = {
|
||||
videoEnabled: true,
|
||||
audioEnabled: true,
|
||||
showMicrophone: true,
|
||||
showCamera: true,
|
||||
showScreenShare: true,
|
||||
showActivityPanel: true,
|
||||
showPrejoin: true,
|
||||
showChat: true,
|
||||
showRecording: true,
|
||||
@ -178,7 +176,6 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
||||
|
||||
this.featureFlags.showChat = this.chatPreferences.enabled;
|
||||
this.featureFlags.showRecording = this.recordingPreferences.enabled;
|
||||
this.featureFlags.showActivityPanel = this.recordingPreferences.enabled;
|
||||
this.featureFlags.showBackgrounds = this.virtualBackgroundPreferences.enabled;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user