2022-03-01 03:46:13 +08:00
|
|
|
const e = require('../core/elements');
|
|
|
|
|
2023-06-22 20:21:10 +08:00
|
|
|
// Create Parameters
|
2024-01-20 00:42:01 +08:00
|
|
|
exports.bannerText = 'bannerText=some+text';
|
|
|
|
const color = '#FFFF00'
|
2023-06-22 20:21:10 +08:00
|
|
|
exports.color = color;
|
2024-01-20 00:42:01 +08:00
|
|
|
exports.bannerColor = `bannerColor=${color}`;
|
2023-06-22 20:21:10 +08:00
|
|
|
exports.maxParticipants = 'maxParticipants=2';
|
|
|
|
exports.duration = 'duration=2';
|
|
|
|
const messageModerator = 'Test';
|
|
|
|
exports.messageModerator = messageModerator;
|
|
|
|
exports.moderatorOnlyMessage = `moderatorOnlyMessage=${messageModerator}`;
|
|
|
|
exports.webcamsOnlyForModerator = 'webcamsOnlyForModerator=true';
|
|
|
|
exports.muteOnStart = 'muteOnStart=true';
|
|
|
|
exports.allowModsToUnmuteUsers = 'allowModsToUnmuteUsers=true';
|
|
|
|
exports.lockSettingsDisableCam = 'lockSettingsDisableCam=true';
|
|
|
|
exports.lockSettingsDisableMic = 'lockSettingsDisableMic=true';
|
|
|
|
exports.lockSettingsDisablePublicChat = 'lockSettingsDisablePublicChat=true';
|
|
|
|
exports.lockSettingsHideUserList = 'lockSettingsHideUserList=true';
|
|
|
|
exports.allowModsToEjectCameras = 'allowModsToEjectCameras=true';
|
|
|
|
exports.notifyRecordingIsOn = 'notifyRecordingIsOn=true¬ifyRecordingIsOn=true';
|
|
|
|
|
|
|
|
// Custom Parameters
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.autoJoin = 'userdata-bbb_auto_join_audio=false';
|
|
|
|
exports.listenOnlyMode = 'userdata-bbb_listen_only_mode=false';
|
|
|
|
exports.forceListenOnly = 'userdata-bbb_force_listen_only=true';
|
|
|
|
exports.skipCheck = 'userdata-bbb_skip_check_audio=true';
|
|
|
|
exports.skipCheckOnFirstJoin = 'userdata-bbb_skip_check_audio_on_first_join=true';
|
2024-07-19 22:29:38 +08:00
|
|
|
exports.skipEchoTestIfPreviousDevice = 'userdata-bbb_skip_echotest_if_previous_device=true';
|
2022-04-08 02:34:25 +08:00
|
|
|
const docTitle = 'playwright';
|
|
|
|
exports.docTitle = docTitle;
|
|
|
|
exports.clientTitle = `userdata-bbb_client_title=${docTitle}`;
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.askForFeedbackOnLogout = 'userdata-bbb_ask_for_feedback_on_logout=true';
|
|
|
|
exports.displayBrandingArea = 'userdata-bbb_display_branding_area=true';
|
2023-07-20 04:44:38 +08:00
|
|
|
exports.logo = 'logo=https://bigbluebutton.org/wp-content/uploads/2021/01/BigBlueButton_icon.svg.png';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.enableVideo = 'userdata-bbb_enable_video=false';
|
|
|
|
exports.autoShareWebcam = 'userdata-bbb_auto_share_webcam=true';
|
|
|
|
exports.multiUserPenOnly = 'userdata-bbb_multi_user_pen_only=true';
|
2024-06-13 03:06:19 +08:00
|
|
|
exports.presenterTools = 'userdata-bbb_presenter_tools=["select","draw", "arrow"]';
|
|
|
|
exports.multiUserTools = 'userdata-bbb_multi_user_tools=["arrow","text"]';
|
2022-03-01 03:46:13 +08:00
|
|
|
const cssCode = `${e.presentationTitle}{display: none;}`;
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.customStyle = `userdata-bbb_custom_style=${cssCode}`;
|
|
|
|
exports.customStyleUrl = 'userdata-bbb_custom_style_url=https://develop.bigbluebutton.org/css-test-file.css';
|
|
|
|
exports.autoSwapLayout = 'userdata-bbb_auto_swap_layout=true';
|
2024-01-20 00:42:01 +08:00
|
|
|
exports.hidePresentationOnJoin = 'userdata-bbb_hide_presentation_on_join=true';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.outsideToggleSelfVoice = 'userdata-bbb_outside_toggle_self_voice=true';
|
|
|
|
exports.outsideToggleRecording = 'userdata-bbb_outside_toggle_recording=true';
|
|
|
|
exports.showPublicChatOnLogin = 'userdata-bbb_show_public_chat_on_login=false';
|
|
|
|
exports.forceRestorePresentationOnNewEvents = 'userdata-bbb_force_restore_presentation_on_new_events=true';
|
|
|
|
exports.recordMeeting = 'record=true';
|
|
|
|
exports.skipVideoPreview = 'userdata-bbb_skip_video_preview=true';
|
|
|
|
exports.skipVideoPreviewOnFirstJoin = 'userdata-bbb_skip_video_preview_on_first_join=true';
|
2024-07-19 04:24:10 +08:00
|
|
|
exports.skipVideoPreviewIfPreviousDevice = 'userdata-bbb_skip_video_preview_if_previous_device=true';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.mirrorOwnWebcam = 'userdata-bbb_mirror_own_webcam=true';
|
|
|
|
exports.showParticipantsOnLogin = 'userdata-bbb_show_participants_on_login=false';
|
2023-02-08 02:12:20 +08:00
|
|
|
exports.hideActionsBar = 'userdata-bbb_hide_actions_bar=true';
|
|
|
|
exports.overrideDefaultLocale = 'userdata-bbb_override_default_locale=pt-br';
|
|
|
|
exports.hideNavBar = 'userdata-bbb_hide_nav_bar=true';
|
|
|
|
exports.preferredCameraProfile = 'userdata-bbb_preferred_camera_profile=low';
|
2021-12-15 01:10:44 +08:00
|
|
|
|
2023-02-22 02:28:53 +08:00
|
|
|
// Disabled Features
|
2023-06-14 04:31:47 +08:00
|
|
|
exports.breakoutRoomsDisabled = 'disabledFeatures=breakoutRooms';
|
|
|
|
exports.speechRecognitionDisabled = 'disabledFeatures=liveTranscription';
|
|
|
|
exports.captionsDisabled = 'disabledFeatures=captions';
|
|
|
|
exports.chatDisabled = 'disabledFeatures=chat';
|
|
|
|
exports.externalVideosDisabled = 'disabledFeatures=externalVideos';
|
|
|
|
exports.learningDashboardDisabled = 'disabledFeatures=learningDashboard';
|
|
|
|
exports.pollsDisabled = 'disabledFeatures=polls';
|
|
|
|
exports.screenshareDisabled = 'disabledFeatures=screenshare';
|
|
|
|
exports.sharedNotesDisabled = 'disabledFeatures=sharedNotes';
|
|
|
|
exports.virtualBackgroundsDisabled = 'disabledFeatures=virtualBackgrounds';
|
|
|
|
exports.downloadPresentationWithAnnotationsDisabled = 'disabledFeatures=downloadPresentationWithAnnotations';
|
|
|
|
exports.importPresentationWithAnnotationsFromBreakoutRoomsDisabled = 'disabledFeatures=importPresentationWithAnnotationsFromBreakoutRooms';
|
|
|
|
exports.importSharedNotesFromBreakoutRoomsDisabled = 'disabledFeatures=importSharedNotesFromBreakoutRooms';
|
|
|
|
exports.layoutsDisabled = 'disabledFeatures=layouts';
|
|
|
|
exports.presentationDisabled = 'disabledFeatures=presentation';
|
|
|
|
exports.customVirtualBackgroundDisabled = 'disabledFeatures=customVirtualBackgrounds';
|
2023-07-12 19:55:49 +08:00
|
|
|
exports.slideSnapshotDisabled = 'disabledFeatures=snapshotOfCurrentSlide';
|
|
|
|
exports.cameraAsContent = 'disabledFeatures=cameraAsContent';
|
2023-02-22 02:28:53 +08:00
|
|
|
|
2023-06-07 22:19:09 +08:00
|
|
|
// Disabled Features Exclude
|
|
|
|
exports.breakoutRoomsExclude = 'disabledFeatures=breakoutRooms,presentation,chat&disabledFeaturesExclude=breakoutRooms';
|
2023-06-14 04:31:47 +08:00
|
|
|
exports.speechRecognitionExclude = 'disabledFeatures=breakoutRooms,presentation,chat,liveTranscription&disabledFeaturesExclude=liveTranscription';
|
2023-06-07 22:19:09 +08:00
|
|
|
exports.captionsExclude = 'disabledFeatures=captions,presentation,chat&disabledFeaturesExclude=captions';
|
|
|
|
exports.chatExclude = 'disabledFeatures=presentation,chat&disabledFeaturesExclude=chat';
|
|
|
|
exports.externalVideosExclude = 'disabledFeatures=presentation,chat,externalVideos&disabledFeaturesExclude=externalVideos';
|
|
|
|
exports.layoutsExclude = 'disabledFeatures=presentation,chat,layouts&disabledFeaturesExclude=layouts';
|
|
|
|
exports.learningDashboardExclude = 'disabledFeatures=presentation,chat,learningDashboard&disabledFeaturesExclude=learningDashboard';
|
|
|
|
exports.pollsExclude = 'disabledFeatures=layouts,polls&disabledFeaturesExclude=polls';
|
|
|
|
exports.screenshareExclude = 'disabledFeatures=presentation,chat,screenshare&disabledFeaturesExclude=screenshare';
|
|
|
|
exports.sharedNotesExclude = 'disabledFeatures=presentation,chat,sharedNotes&disabledFeaturesExclude=sharedNotes';
|
|
|
|
exports.virtualBackgroundsExclude = 'disabledFeatures=presentation,chat,virtualBackgrounds&disabledFeaturesExclude=virtualBackgrounds';
|
|
|
|
exports.downloadPresentationWithAnnotationsExclude = 'disabledFeatures=chat,downloadPresentationWithAnnotations&disabledFeaturesExclude=downloadPresentationWithAnnotations';
|
|
|
|
exports.importPresentationWithAnnotationsFromBreakoutRoomsExclude = 'disabledFeatures=presentation,chat,importPresentationWithAnnotationsFromBreakoutRooms&disabledFeaturesExclude=importPresentationWithAnnotationsFromBreakoutRooms';
|
|
|
|
exports.importSharedNotesFromBreakoutRoomsExclude = 'disabledFeatures=presentation,chat,importSharedNotesFromBreakoutRooms&disabledFeaturesExclude=importSharedNotesFromBreakoutRooms';
|
|
|
|
exports.presentationExclude = 'disabledFeatures=presentation,chat&disabledFeaturesExclude=presentation';
|
|
|
|
exports.customVirtualBackgroundExclude = 'disabledFeatures=presentation,chat,customVirtualBackground&disabledFeaturesExclude=customVirtualBackground';
|
2023-07-12 19:55:49 +08:00
|
|
|
exports.slideSnapshotExclude = 'disabledFeatures=snapShotOfCurrentSlide,chat&disabledFeaturesExclude=snapShotOfCurrentSlide';
|
|
|
|
exports.cameraAsContentExclude = 'disabledFeatures=cameraAsContent,chat&disabledFeaturesExclude=cameraAsContent';
|
2023-06-07 22:19:09 +08:00
|
|
|
|
2021-12-15 01:10:44 +08:00
|
|
|
// Shortcuts
|
|
|
|
exports.shortcuts = 'userdata-bbb_shortcuts=[$]';
|
|
|
|
exports.initialShortcuts = [{
|
|
|
|
param: 'openOptions',
|
|
|
|
key: 'O'
|
|
|
|
}, {
|
|
|
|
param: 'toggleUserList',
|
|
|
|
key: 'U'
|
|
|
|
}, {
|
|
|
|
param: 'togglePublicChat',
|
|
|
|
key: 'P'
|
|
|
|
}, {
|
|
|
|
param: 'openActions',
|
|
|
|
key: 'A'
|
|
|
|
}, {
|
|
|
|
param: 'joinAudio',
|
|
|
|
key: 'J'
|
|
|
|
}];
|
|
|
|
exports.laterShortcuts = [{
|
|
|
|
param: 'toggleMute',
|
|
|
|
key: 'M'
|
|
|
|
}, {
|
|
|
|
param: 'leaveAudio',
|
|
|
|
key: 'L'
|
|
|
|
}, {
|
|
|
|
param: 'hidePrivateChat',
|
|
|
|
key: 'H'
|
|
|
|
}, {
|
|
|
|
param: 'closePrivateChat',
|
|
|
|
key: 'G'
|
|
|
|
}];
|