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"
|
[prejoinDisplayParticipantName]="false"
|
||||||
[videoEnabled]="featureFlags.videoEnabled"
|
[videoEnabled]="featureFlags.videoEnabled"
|
||||||
[audioEnabled]="featureFlags.audioEnabled"
|
[audioEnabled]="featureFlags.audioEnabled"
|
||||||
[recordingStreamBaseUrl]="'/meet/api/v1/recordings/'"
|
|
||||||
[toolbarCameraButton]="featureFlags.showCamera"
|
[toolbarCameraButton]="featureFlags.showCamera"
|
||||||
[toolbarMicrophoneButton]="featureFlags.showMicrophone"
|
[toolbarMicrophoneButton]="featureFlags.showMicrophone"
|
||||||
[toolbarScreenshareButton]="featureFlags.showScreenShare"
|
[toolbarScreenshareButton]="featureFlags.showScreenShare"
|
||||||
[toolbarChatPanelButton]="featureFlags.showChat"
|
[toolbarChatPanelButton]="featureFlags.showChat"
|
||||||
[toolbarRecordingButton]="featureFlags.showRecording"
|
[toolbarRecordingButton]="featureFlags.showRecording"
|
||||||
[toolbarBroadcastingButton]="false"
|
[toolbarBroadcastingButton]="false"
|
||||||
[activitiesPanelRecordingActivity]="featureFlags.showRecording"
|
[activitiesPanelRecordingActivity]="false"
|
||||||
[activitiesPanelBroadcastingActivity]="false"
|
[activitiesPanelBroadcastingActivity]="false"
|
||||||
[toolbarBackgroundEffectsButton]="featureFlags.showBackgrounds"
|
[toolbarBackgroundEffectsButton]="featureFlags.showBackgrounds"
|
||||||
[toolbarActivitiesPanelButton]="featureFlags.showActivityPanel"
|
[toolbarActivitiesPanelButton]="false"
|
||||||
(onTokenRequested)="onTokenRequested($event)"
|
(onTokenRequested)="onTokenRequested($event)"
|
||||||
(onParticipantConnected)="onParticipantConnected($event)"
|
(onParticipantConnected)="onParticipantConnected($event)"
|
||||||
(onParticipantLeft)="onParticipantLeft($event)"
|
(onParticipantLeft)="onParticipantLeft($event)"
|
||||||
|
|||||||
@ -32,14 +32,12 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
|||||||
chatPreferences: ChatPreferences = { enabled: true };
|
chatPreferences: ChatPreferences = { enabled: true };
|
||||||
recordingPreferences: RecordingPreferences = { enabled: true };
|
recordingPreferences: RecordingPreferences = { enabled: true };
|
||||||
virtualBackgroundPreferences: VirtualBackgroundPreferences = { enabled: true };
|
virtualBackgroundPreferences: VirtualBackgroundPreferences = { enabled: true };
|
||||||
|
|
||||||
featureFlags = {
|
featureFlags = {
|
||||||
videoEnabled: true,
|
videoEnabled: true,
|
||||||
audioEnabled: true,
|
audioEnabled: true,
|
||||||
showMicrophone: true,
|
showMicrophone: true,
|
||||||
showCamera: true,
|
showCamera: true,
|
||||||
showScreenShare: true,
|
showScreenShare: true,
|
||||||
showActivityPanel: true,
|
|
||||||
showPrejoin: true,
|
showPrejoin: true,
|
||||||
showChat: true,
|
showChat: true,
|
||||||
showRecording: true,
|
showRecording: true,
|
||||||
@ -178,7 +176,6 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
this.featureFlags.showChat = this.chatPreferences.enabled;
|
this.featureFlags.showChat = this.chatPreferences.enabled;
|
||||||
this.featureFlags.showRecording = this.recordingPreferences.enabled;
|
this.featureFlags.showRecording = this.recordingPreferences.enabled;
|
||||||
this.featureFlags.showActivityPanel = this.recordingPreferences.enabled;
|
|
||||||
this.featureFlags.showBackgrounds = this.virtualBackgroundPreferences.enabled;
|
this.featureFlags.showBackgrounds = this.virtualBackgroundPreferences.enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user