
// PoliticTalk local Docker overrides.
// Docker Jitsi appends this file after generating /config/config.js.

config.defaultLogoUrl = '/images/politictalk/pgLogo.svg';
config.dynamicBrandingUrl = '/images/politictalk/branding.json';
config.welcomePage = config.welcomePage || {};
config.welcomePage.disabled = false;
config.welcomePage.customUrl = 'http://localhost:3000/politictalk';

config.startAudioOnly = true;
config.startAudioMuted = 0;
config.startWithAudioMuted = true;
config.startVideoMuted = 0;
config.startWithVideoMuted = true;

config.disableSelfView = true;
config.disableSelfViewSettings = true;
config.disableLocalVideoFlip = true;
config.disableProfile = true;
config.readOnlyName = true;

config.disableChat = false;
config.disablePolls = false;
config.disableInviteFunctions = true;
config.doNotStoreRoom = true;

config.disableDeepLinking = true;
config.deeplinking = {
    disabled: true,
    hideLogo: false
};

config.enableEncodedTransformSupport = true;
config.enableNoisyMicDetection = true;
config.disableRemoteMute = false;

config.prejoinConfig = {
    enabled: false,
    hideDisplayName: true,
    hideExtraJoinButtons: ['no-audio', 'by-phone'],
    preCallTestEnabled: false,
    preCallTestICEUrl: '',
    showHangUp: true
};

config.toolbarButtons = [
    'microphone',
    'chat',
    'raisehand',
    'fullscreen',
    'noisesuppression',
    'participants-pane',
    'hangup'
];

config.hiddenPremeetingButtons = [
    'microphone',
    'camera',
    'select-background',
    'invite',
    'settings'
];

config.participantsPane = {
    enabled: true,
    hideModeratorSettingsTab: false,
    hideMoreActionsButton: false,
    hideMuteAllButton: false
};

config.breakoutRooms = {
    hideAddRoomButton: true,
    hideAutoAssignButton: true,
    hideJoinRoomButton: true
};

config.e2ee = {
    externallyManagedKey: false,
    disabled: false,
    labels: {
        label: 'End-to-end encryption',
        description: 'End-to-end encryption protects media between participants.',
        tooltip: 'End-to-end encryption',
        warning: 'Some features may be limited while encryption is enabled.'
    }
};
