frontend: Update recording preferences in VideoRoomComponent to include access control
This commit is contained in:
parent
a105d79680
commit
e8421dfa72
@ -11,9 +11,20 @@ import {
|
|||||||
OpenViduComponentsUiModule
|
OpenViduComponentsUiModule
|
||||||
} from 'openvidu-components-angular';
|
} from 'openvidu-components-angular';
|
||||||
|
|
||||||
import { MeetChatPreferences, MeetRecordingPreferences, MeetVirtualBackgroundPreferences } from '@lib/typings/ce';
|
import {
|
||||||
|
MeetChatPreferences,
|
||||||
|
MeetRecordingAccess,
|
||||||
|
MeetRecordingPreferences,
|
||||||
|
MeetVirtualBackgroundPreferences
|
||||||
|
} from '@lib/typings/ce';
|
||||||
|
|
||||||
import { HttpService, WebComponentManagerService, ContextService, RoomService, SessionStorageService } from '../../services';
|
import {
|
||||||
|
HttpService,
|
||||||
|
WebComponentManagerService,
|
||||||
|
ContextService,
|
||||||
|
RoomService,
|
||||||
|
SessionStorageService
|
||||||
|
} from '../../services';
|
||||||
import { OpenViduMeetMessage, WebComponentEventType } from 'webcomponent/src/types/message.type';
|
import { OpenViduMeetMessage, WebComponentEventType } from 'webcomponent/src/types/message.type';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -30,7 +41,10 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
|||||||
serverError = '';
|
serverError = '';
|
||||||
loading = true;
|
loading = true;
|
||||||
chatPreferences: MeetChatPreferences = { enabled: true };
|
chatPreferences: MeetChatPreferences = { enabled: true };
|
||||||
recordingPreferences: MeetRecordingPreferences = { enabled: true };
|
recordingPreferences: MeetRecordingPreferences = {
|
||||||
|
enabled: true,
|
||||||
|
allowAccessTo: MeetRecordingAccess.ADMIN_MODERATOR_PUBLISHER
|
||||||
|
};
|
||||||
virtualBackgroundPreferences: MeetVirtualBackgroundPreferences = { enabled: true };
|
virtualBackgroundPreferences: MeetVirtualBackgroundPreferences = { enabled: true };
|
||||||
featureFlags = {
|
featureFlags = {
|
||||||
videoEnabled: true,
|
videoEnabled: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user