Files
crm-calls/jitsi/custom-config.js

26 lines
1.6 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ---- CRM Tvorymo: лише голосові дзвінки (рішення власника 2026-10-15) ----
// Додається в кінець config.js сервера (docker-jitsi-meet: /config/custom-config.js),
// тож діє і в браузері (модуль «Дзвінки», прямий вхід), і в мобільному додатку Jitsi Meet,
// який завантажує config.js з нашого сервера.
config.startAudioOnly = true; // режим «лише звук»: відео не надсилається і не приймається
config.startWithVideoMuted = true;
config.startVideoMuted = 0;
config.disableShortcuts = true; // без «V» (камера) і «D» (екран)
config.toolbarButtons = [
'microphone', 'hangup', 'chat', 'raisehand', 'participants-pane',
'tileview', 'settings', 'fullscreen', 'noisesuppression', 'filmstrip'
];
config.settingsSections = [ 'devices', 'language', 'sounds', 'more' ];
config.disableSelfView = true;
config.disableAddingBackgroundImages = true;
config.disableVirtualBackground = true;
config.desktopSharingFrameRate = { min: 1, max: 1 };
config.prejoinConfig = Object.assign({}, config.prejoinConfig, {
hideExtraJoinButtons: [ 'no-audio', 'by-phone' ]
});
config.recordingService = Object.assign({}, config.recordingService, { hideStorageWarning: true });
// Запис запускає модуль «Дзвінки» на сервері (Jibri), учасникам кнопки запису не потрібні.
config.fileRecordingsServiceEnabled = false;
config.fileRecordingsServiceSharingEnabled = false;