2019-05-24 13:06:05 +02:00
|
|
|
// @flow
|
|
|
|
|
|
2020-04-29 09:35:18 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if add-people functionality should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const ADD_PEOPLE_ENABLED = 'add-people.enabled';
|
|
|
|
|
|
2021-02-05 09:05:55 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the SDK should not require the audio focus.
|
|
|
|
|
* Used by apps that do not use Jitsi audio.
|
|
|
|
|
* Default: disabled (false)
|
|
|
|
|
*/
|
2021-03-11 15:13:24 +02:00
|
|
|
export const AUDIO_FOCUS_DISABLED = 'audio-focus.disabled';
|
2021-02-05 09:05:55 +02:00
|
|
|
|
2021-02-04 15:32:09 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the audio mute button should be displayed.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const AUDIO_MUTE_BUTTON_ENABLED = 'audio-mute.enabled';
|
|
|
|
|
|
2021-03-19 08:17:37 +01:00
|
|
|
/**
|
|
|
|
|
* Flag indicating that the Audio only button in the overflow menu is enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const AUDIO_ONLY_BUTTON_ENABLED = 'audio-only.enabled';
|
|
|
|
|
|
2019-05-28 15:30:57 +02:00
|
|
|
/**
|
2019-05-28 15:32:29 +02:00
|
|
|
* Flag indicating if calendar integration should be enabled.
|
|
|
|
|
* Default: enabled (true) on Android, auto-detected on iOS.
|
2019-05-28 15:30:57 +02:00
|
|
|
*/
|
2019-05-28 15:32:29 +02:00
|
|
|
export const CALENDAR_ENABLED = 'calendar.enabled';
|
2019-05-28 15:30:57 +02:00
|
|
|
|
2019-10-18 16:30:59 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if call integration (CallKit on iOS, ConnectionService on Android)
|
|
|
|
|
* should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const CALL_INTEGRATION_ENABLED = 'call-integration.enabled';
|
|
|
|
|
|
2020-04-01 13:08:02 +02:00
|
|
|
/**
|
2020-06-05 17:23:35 +05:30
|
|
|
* Flag indicating if close captions should be enabled.
|
2020-04-01 13:08:02 +02:00
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const CLOSE_CAPTIONS_ENABLED = 'close-captions.enabled';
|
|
|
|
|
|
2020-07-15 10:22:35 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if conference timer should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const CONFERENCE_TIMER_ENABLED = 'conference-timer.enabled';
|
|
|
|
|
|
2019-05-28 15:30:57 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if chat should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const CHAT_ENABLED = 'chat.enabled';
|
|
|
|
|
|
2021-01-22 12:03:39 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the filmstrip should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const FILMSTRIP_ENABLED = 'filmstrip.enabled';
|
|
|
|
|
|
2021-03-08 22:11:39 +01:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if fullscreen (immersive) mode should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const FULLSCREEN_ENABLED = 'fullscreen.enabled';
|
|
|
|
|
|
2021-02-10 22:34:13 +01:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the Help button should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const HELP_BUTTON_ENABLED = 'help.enabled';
|
|
|
|
|
|
2019-10-24 17:41:31 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if invite functionality should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const INVITE_ENABLED = 'invite.enabled';
|
|
|
|
|
|
2019-05-24 17:11:54 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if recording should be enabled in iOS.
|
|
|
|
|
* Default: disabled (false).
|
|
|
|
|
*/
|
|
|
|
|
export const IOS_RECORDING_ENABLED = 'ios.recording.enabled';
|
|
|
|
|
|
2021-04-07 16:28:26 +03:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if screen sharing should be enabled in iOS.
|
|
|
|
|
* Default: disabled (false).
|
|
|
|
|
*/
|
|
|
|
|
export const IOS_SCREENSHARING_ENABLED = 'ios.screensharing.enabled';
|
|
|
|
|
|
2020-10-07 00:10:44 +05:30
|
|
|
/**
|
|
|
|
|
* Flag indicating if kickout is enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const KICK_OUT_ENABLED = 'kick-out.enabled';
|
|
|
|
|
|
2020-04-29 09:35:18 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if live-streaming should be enabled.
|
|
|
|
|
* Default: auto-detected.
|
|
|
|
|
*/
|
|
|
|
|
export const LIVE_STREAMING_ENABLED = 'live-streaming.enabled';
|
|
|
|
|
|
2021-05-14 16:01:43 +03:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if lobby mode button should be enabled.
|
|
|
|
|
* Default: enabled.
|
|
|
|
|
*/
|
|
|
|
|
export const LOBBY_MODE_ENABLED = 'lobby-mode.enabled';
|
|
|
|
|
|
2020-04-29 09:35:18 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if displaying the meeting name should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const MEETING_NAME_ENABLED = 'meeting-name.enabled';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Flag indicating if the meeting password button should be enabled.
|
2021-03-16 11:59:33 -04:00
|
|
|
* Note that this flag just decides on the button, if a meeting has a password
|
2021-05-14 16:01:43 +03:00
|
|
|
* set, the password dialog will still show up.
|
2020-04-29 09:35:18 +02:00
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const MEETING_PASSWORD_ENABLED = 'meeting-password.enabled';
|
|
|
|
|
|
2021-01-22 12:03:39 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the notifications should be enabled.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const NOTIFICATIONS_ENABLED = 'notifications.enabled';
|
|
|
|
|
|
2021-02-04 15:32:09 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the audio overflow menu button should be displayed.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const OVERFLOW_MENU_ENABLED = 'overflow-menu.enabled';
|
|
|
|
|
|
2019-05-24 13:06:05 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if Picture-in-Picture should be enabled.
|
|
|
|
|
* Default: auto-detected.
|
|
|
|
|
*/
|
|
|
|
|
export const PIP_ENABLED = 'pip.enabled';
|
|
|
|
|
|
2020-05-04 21:52:45 +05:30
|
|
|
/**
|
|
|
|
|
* Flag indicating if raise hand feature should be enabled.
|
|
|
|
|
* Default: enabled.
|
|
|
|
|
*/
|
|
|
|
|
export const RAISE_HAND_ENABLED = 'raise-hand.enabled';
|
|
|
|
|
|
2020-04-29 09:35:18 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if recording should be enabled.
|
|
|
|
|
* Default: auto-detected.
|
|
|
|
|
*/
|
|
|
|
|
export const RECORDING_ENABLED = 'recording.enabled';
|
|
|
|
|
|
2020-07-07 22:34:52 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating the local and (maximum) remote video resolution. Overrides
|
|
|
|
|
* the server configuration.
|
|
|
|
|
* Default: (unset).
|
|
|
|
|
*/
|
|
|
|
|
export const RESOLUTION = 'resolution';
|
|
|
|
|
|
2021-05-14 16:01:43 +03:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the security options button should be enabled.
|
|
|
|
|
* Default: enabled (true)
|
|
|
|
|
*/
|
|
|
|
|
export const SECURITY_OPTIONS_ENABLED = 'security-options.enabled';
|
|
|
|
|
|
2020-06-26 12:47:48 +03:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if server URL change is enabled.
|
|
|
|
|
* Default: enabled (true)
|
|
|
|
|
*/
|
|
|
|
|
export const SERVER_URL_CHANGE_ENABLED = 'server-url-change.enabled';
|
|
|
|
|
|
2020-05-06 17:52:59 +05:30
|
|
|
/**
|
|
|
|
|
* Flag indicating if tile view feature should be enabled.
|
|
|
|
|
* Default: enabled.
|
|
|
|
|
*/
|
|
|
|
|
export const TILE_VIEW_ENABLED = 'tile-view.enabled';
|
|
|
|
|
|
2020-05-13 16:25:06 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the toolbox should be always be visible
|
|
|
|
|
* Default: disabled (false).
|
|
|
|
|
*/
|
|
|
|
|
export const TOOLBOX_ALWAYS_VISIBLE = 'toolbox.alwaysVisible';
|
|
|
|
|
|
2021-01-22 12:03:39 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the toolbox should be enabled
|
|
|
|
|
* Default: enabled.
|
|
|
|
|
*/
|
|
|
|
|
export const TOOLBOX_ENABLED = 'toolbox.enabled';
|
|
|
|
|
|
2021-02-04 15:32:09 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the video mute button should be displayed.
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const VIDEO_MUTE_BUTTON_ENABLED = 'video-mute.enabled';
|
|
|
|
|
|
2020-07-15 14:18:56 +05:30
|
|
|
/**
|
|
|
|
|
* Flag indicating if the video share button should be enabled
|
|
|
|
|
* Default: enabled (true).
|
|
|
|
|
*/
|
|
|
|
|
export const VIDEO_SHARE_BUTTON_ENABLED = 'video-share.enabled';
|
|
|
|
|
|
2019-05-24 13:06:05 +02:00
|
|
|
/**
|
|
|
|
|
* Flag indicating if the welcome page should be enabled.
|
|
|
|
|
* Default: disabled (false).
|
|
|
|
|
*/
|
|
|
|
|
export const WELCOME_PAGE_ENABLED = 'welcomepage.enabled';
|