2021-06-05 13:47:20 +02:00
|
|
|
// You can overwrite the default configuration values set in [config.js] here.
|
|
|
|
// There should never be any required changes to this file and you can always
|
|
|
|
// simply copy it over when updating to a new version.
|
|
|
|
|
|
|
|
let config = window.mumbleWebConfig // eslint-disable-line no-unused-vars
|
|
|
|
|
|
|
|
// E.g. changing default address and theme:
|
|
|
|
// config.defaults.address = 'voice.example.com'
|
|
|
|
// config.defaults.theme = 'MetroMumbleDark'
|
|
|
|
|
|
|
|
|
|
|
|
// Which fields to show on the Connect to Server dialog
|
2021-06-05 15:54:37 +02:00
|
|
|
config.connectDialog.address = 'false'
|
|
|
|
config.connectDialog.port = 'false'
|
|
|
|
config.connectDialog.token = 'false'
|
|
|
|
// config.connectDialog.username = 'true'
|
|
|
|
// config.connectDialog.password = 'true'
|
|
|
|
// config.connectDialog.channelName = 'false'
|
2021-06-05 13:47:20 +02:00
|
|
|
|
|
|
|
// Default values for user settings
|
|
|
|
// You can see your current value by typing `localStorage.getItem('mumble.$setting')` in the web console.
|
2021-06-05 15:54:37 +02:00
|
|
|
// config.settings.voiceMode = 'vad' // one of 'cont' (Continuous), 'ptt' (Push-to-Talk), 'vad' (Voice Activity Detection)
|
|
|
|
// config.settings.pttKey = 'ctrl + shift'
|
|
|
|
// config.settings.vadLevel = '0.3'
|
|
|
|
// config.settings.toolbarVertical = 'false'
|
|
|
|
// config.settings.showAvatars = 'always' // one of 'always', 'own_channel', 'linked_channel', 'minimal_only', 'never'
|
|
|
|
// config.settings.userCountInChannelName = 'false'
|
|
|
|
// config.settings.audioBitrate = '40000' // bits per second
|
|
|
|
// config.settings.samplesPerPacket = '960'
|
2021-06-05 13:47:20 +02:00
|
|
|
|
|
|
|
// Default values (can be changed by passing a query parameter of the same name)
|
|
|
|
// Connect Dialog
|
2021-06-05 15:54:37 +02:00
|
|
|
// config.defaults.address = 'window.location.hostname'
|
|
|
|
// config.defaults.port = '443'
|
|
|
|
// config.defaults.token = ''
|
|
|
|
// config.defaults.username = ''
|
|
|
|
// config.defaults.password = '',
|
|
|
|
// config.defaults.joinDialog = 'false' // replace whole dialog with single "Join Conference" button
|
|
|
|
// config.defaults.matrix = 'false' // enable Matrix Widget support (mostly auto-detected; implies 'joinDialog')
|
|
|
|
// config.defaults.avatarurl = '' // download and set the user's Mumble avatar to the image at this URL
|
2021-06-05 13:47:20 +02:00
|
|
|
|
|
|
|
// General
|
2021-06-05 15:54:37 +02:00
|
|
|
config.defaults.theme = 'MetroMumbleDark'
|