"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.theme = exports.permissions = void 0;
const types_1 = require("../types");
exports.permissions = {
    view_type: types_1.DyteViewTypes.groupCall,
    accept_waiting_requests: false,
    accept_present_requests: false,
    request_produce: false,
    can_allow_participant_audio: false,
    can_allow_participant_screensharing: false,
    can_allow_participant_video: false,
    request_kick_participant: false,
    kick_participant: false,
    pin_participant: false,
    can_edit_display_name: false,
    can_record: false,
    can_present: true,
    waiting_room_type: types_1.WaitingRoomTypes.skipOnAccept,
    plugins: {
        can_close: true,
        can_start: true,
    },
    polls: {
        can_create: true,
        can_vote: true,
        can_view: true,
    },
    produce: {
        video: {
            allow: true,
            quality: 'vga',
            frame_rate: 24,
        },
        audio: true,
        screenshare: {
            allow: true,
            quality: 'hd',
            frame_rate: 5,
        },
    },
    chat: {
        public: {
            can_send: true,
            text: true,
            files: true,
        },
        private: {
            can_send: false,
            can_receive: false,
            text: false,
            files: false,
        },
    },
    reactions: false,
    hidden_participant: false,
    is_recorder: false,
    show_participant_list: true,
    can_change_participant_role: false,
    can_change_theme: false,
    max_screenshare_count: 1,
};
exports.theme = {
    setup_screen: {
        is_enabled: true,
    },
    alone_here: {
        is_enabled: true,
    },
    waiting_room: {
        is_enabled: false,
        enable_preview: true,
    },
    control_bar: {
        is_enabled: true,
        elements: {
            plugins: true,
            screenshare: true,
            invite: true,
            participants: true,
            chat: true,
            reactions: false,
            polls: true,
            fullscreen: true,
            layout: true,
        },
    },
    header: {
        is_enabled: true,
        elements: {
            timer: true,
            title: true,
            participant_count: true,
            change_layout: true,
        },
    },
    pip_mode: true,
    auto_tune: true,
    grid: {
        multi: {
            maxVideoCount: 6,
            videoFit: 'cover',
        },
        single: {
            maxVideoCount: 6,
            videoFit: 'cover',
        },
        defaultView: 'multi',
    },
    controls: {
        pip_toggle: false,
    },
};
//# sourceMappingURL=defaultPreset.js.map