// alles behalve: microphone, camera, desktop, raise-hand, (fullscreen optie?), select-background, tileview
let buttons = [
'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen',
'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
'videoquality', 'filmstrip', 'stats', 'shortcuts',
'tileview', 'select-background', 'mute-everyone', 'mute-video-everyone', 'security'
// 'invite', 'help', 'download', 'feedback', 'stats', 'embedmeeting'
]
const options = {
roomName: room,
jwt: res.token,
width: 500,
height: 500,
parentNode: document.querySelector('#jroom'),
// see https://github.com/jitsi/jitsi-meet/blob/master/interface_config.js
interfaceConfigOverwrite:{
HIDE_INVITE_MORE_HEADER:true,
TOOLBAR_BUTTONS: buttons,
AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
DEFAULT_BACKGROUND: '#474747',
//DEFAULT_LOCAL_DISPLAY_NAME: 'me',
//DEFAULT_LOGO_URL: 'images/watermark.svg',
//DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow Jitster',
MOBILE_APP_PROMO: false,
RECENT_LIST_ENABLED:false,
SHOW_JITSI_WATERMARK:false,
SUPPORT_URL: 'mailto:jelle@groundcontrol.app',
},
// see https://github.com/jitsi/jitsi-meet/blob/master/config.js
configOverwrite: {
apiLogLevels: [], //['warn', 'log', 'error', 'info', 'debug'] --> []
disableTileView: false,
requireDisplayName: false, // dont allow users the change nickname
prejoinPageEnabled: false, // dont allow users to change nickname
startWithAudioMuted: true,
startWithVideoMuted: false,
brandingRoomAlias: roomHuman,
disableInviteFunctions:true,
// dynamicBrandingUrl: 'http://'
// expected json response: {
// // The hex value for the colour used as background
// backgroundColor: '#fff',
// // The url for the image used as background
// backgroundImageUrl: 'https://example.com/background-img.png',
// // The anchor url used when clicking the logo image
// logoClickUrl: 'https://example-company.org',
// // The url used for the image used as logo
// logoImageUrl: 'https://example.com/logo-img.png'
// }
doNotStoreRoom: true,
// Hides the conference subject
hideConferenceSubject: true,
// Hides the conference timer.
hideConferenceTimer: true,
// Hides the participants stats
hideParticipantsStats: true,
// Sets the conference subject
subject: '',
toolbarButtons: buttons,
}
};
api = new JitsiMeetExternalAPI(domain, options);