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 16:04:09 +02:00
|
|
|
config.connectDialog.address = false
|
|
|
|
config.connectDialog.port = false
|
2021-06-05 16:14:51 +02:00
|
|
|
config.connectDialog.token = true
|
2021-06-05 16:04:09 +02:00
|
|
|
// config.connectDialog.username = true
|
2021-06-05 16:14:51 +02:00
|
|
|
config.connectDialog.password = false
|
2021-06-05 16:04:09 +02:00
|
|
|
// 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'
|
2021-06-05 16:04:09 +02:00
|
|
|
// config.settings.toolbarVertical = false
|
2021-06-05 15:54:37 +02:00
|
|
|
// config.settings.showAvatars = 'always' // one of 'always', 'own_channel', 'linked_channel', 'minimal_only', 'never'
|
2021-06-05 16:04:09 +02:00
|
|
|
// config.settings.userCountInChannelName = false
|
2021-06-05 15:54:37 +02:00
|
|
|
// 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 = ''
|
2021-06-05 16:04:09 +02:00
|
|
|
// 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')
|
2021-06-05 15:54:37 +02:00
|
|
|
// 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'
|