config.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Note: You probably do not want to change any values in here because this
  2. // file might need to be updated with new default values for new
  3. // configuration options. Use the [config.local.js] file instead!
  4. window.mumbleWebConfig = {
  5. // Which fields to show on the Connect to Server dialog
  6. 'connectDialog': {
  7. 'address': true,
  8. 'port': true,
  9. 'token': true,
  10. 'username': true,
  11. 'password': true,
  12. 'channelName': false
  13. },
  14. // Default values for user settings
  15. // You can see your current value by typing `localStorage.getItem('mumble.$setting')` in the web console.
  16. 'settings': {
  17. 'voiceMode': 'vad', // one of 'cont' (Continuous), 'ptt' (Push-to-Talk), 'vad' (Voice Activity Detection)
  18. 'pttKey': 'ctrl + shift',
  19. 'vadLevel': 0.3,
  20. 'toolbarVertical': false,
  21. 'showAvatars': 'always', // one of 'always', 'own_channel', 'linked_channel', 'minimal_only', 'never'
  22. 'userCountInChannelName': false,
  23. 'audioBitrate': 40000, // bits per second
  24. 'samplesPerPacket': 960
  25. },
  26. // Default values (can be changed by passing a query parameter of the same name)
  27. 'defaults': {
  28. // Connect Dialog
  29. 'address': window.location.hostname,
  30. 'port': '443',
  31. 'token': '',
  32. 'username': '',
  33. 'password': '',
  34. 'webrtc': 'auto', // whether to enable (true), disable (false) or auto-detect ('auto') WebRTC support
  35. 'joinDialog': false, // replace whole dialog with single "Join Conference" button
  36. 'matrix': false, // enable Matrix Widget support (mostly auto-detected; implies 'joinDialog')
  37. 'avatarurl': '', // download and set the user's Mumble avatar to the image at this URL
  38. // General
  39. 'theme': 'MetroMumbleLight',
  40. 'startMute': false,
  41. 'startDeaf': false
  42. }
  43. }