config.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. 'helpText': false
  14. },
  15. // Default values for user settings
  16. // You can see your current value by typing `localStorage.getItem('mumble.$setting')` in the web console.
  17. 'settings': {
  18. 'voiceMode': 'vad', // one of 'cont' (Continuous), 'ptt' (Push-to-Talk), 'vad' (Voice Activity Detection)
  19. 'pttKey': 'ctrl + shift',
  20. 'vadLevel': 0.3,
  21. 'toolbarVertical': false,
  22. 'showAvatars': 'always', // one of 'always', 'own_channel', 'linked_channel', 'minimal_only', 'never'
  23. 'userCountInChannelName': false,
  24. 'audioBitrate': 40000, // bits per second
  25. 'samplesPerPacket': 960
  26. },
  27. // Default values (can be changed by passing a query parameter of the same name)
  28. 'defaults': {
  29. // Connect Dialog
  30. 'address': window.location.hostname,
  31. 'port': '443',
  32. 'token': '',
  33. 'username': '',
  34. 'password': '',
  35. 'webrtc': 'auto', // whether to enable (true), disable (false) or auto-detect ('auto') WebRTC support
  36. 'joinDialog': false, // replace whole dialog with single "Join Conference" button
  37. 'matrix': false, // enable Matrix Widget support (mostly auto-detected; implies 'joinDialog')
  38. 'avatarurl': '', // download and set the user's Mumble avatar to the image at this URL
  39. 'helpText': 'Mumble is an open source, low-latency, high quality voice chat software. This is <b>mumble-web</b>, a mumble web client. Need help? Check for <a href="https://wiki.mumble.info/wiki/Main_Page">documentation</a> ',
  40. // General
  41. 'theme': 'MetroMumbleLight',
  42. 'startMute': false,
  43. 'startDeaf': false
  44. }
  45. }