Skip to content

Commit

Permalink
Merge pull request #8 from systemli/update_jitsi_meet_config
Browse files Browse the repository at this point in the history
Update jitsi meet config
  • Loading branch information
doobry-systemli authored Apr 21, 2020
2 parents 22ae8c1 + 965f77d commit 4c5285c
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 19 deletions.
4 changes: 1 addition & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,5 @@ jitsi_meet_debconf_settings:
jitsi_meet_config_resolution: 720
jitsi_meet_config_disable_third_party_requests: "true"
jitsi_meet_config_stun_servers:
- stun.l.google.com:19302
- stun1.l.google.com:19302
- stun2.l.google.com:19302
- stun:meet-jit-si-turnrelay.jitsi.net:443
jitsi_meet_config_default_language: en
87 changes: 71 additions & 16 deletions templates/meet-config.js.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ var config = {
// BOSH URL. FIXME: use XEP-0156 to discover it.
bosh: '//{{ jitsi_meet_server_name }}/http-bind',

// Websocket URL
// websocket: 'wss://meet.kandoo.tech/xmpp-websocket',

// The name of client node advertised in XEP-0115 'c' stanza
clientNode: 'http://{{ jitsi_meet_server_name }}/jitsimeet',

Expand All @@ -41,9 +44,6 @@ var config = {
//

testing: {
// Enables experimental simulcast support on Firefox.
enableFirefoxSimulcast: false,

// P2P test mode disables automatic switching to P2P when there are 2
// participants in the conference.
p2pTestMode: false
Expand Down Expand Up @@ -72,6 +72,18 @@ var config = {

// Disable measuring of audio levels.
// disableAudioLevels: false,
// audioLevelsInterval: 200,

// Enabling this will run the lib-jitsi-meet no audio detection module which
// will notify the user if the current selected microphone has no audio
// input and will suggest another valid device if one is present.
enableNoAudioDetection: true,

// Enabling this will run the lib-jitsi-meet noise detection module which will
// notify the user if there is noise, other than voice, coming from the current
// selected microphone. The purpose it to let the user know that the input could
// be potentially unpleasant for other meeting participants.
enableNoisyMicDetection: true,

// Start the conference in audio only mode (no video is being received nor
// sent).
Expand All @@ -95,12 +107,11 @@ var config = {

// w3c spec-compliant video constraints to use for video capture. Currently
// used by browsers that return true from lib-jitsi-meet's
// util#browser#usesNewGumFlow. The constraints are independency from
// this config's resolution value. Defaults to requesting an ideal aspect
// ratio of 16:9 with an ideal resolution of 720.
// util#browser#usesNewGumFlow. The constraints are independent from
// this config's resolution value. Defaults to requesting an ideal
// resolution of 720p.
constraints: {
video: {
aspectRatio: 16 / 9,
height: {
ideal: {{ jitsi_meet_config_resolution }},
max: 720,
Expand Down Expand Up @@ -287,16 +298,19 @@ var config = {
// estimation tests.
// gatherStats: false,

// The interval at which PeerConnection.getStats() is called. Defaults to 10000
// pcStatsInterval: 10000,

// To enable sending statistics to callstats.io you must provide the
// Application ID and Secret.
// callStatsID: '',
// callStatsSecret: '',

// enables sending participants display name to callstats
// enableDisplayNameInStats: false
// enableDisplayNameInStats: false,

// enables sending participants email if available to callstats and other analytics
// enableEmailInStats: false
// enableEmailInStats: false,

// Privacy
//
Expand Down Expand Up @@ -324,6 +338,7 @@ var config = {

// The STUN servers that will be used in the peer to peer connections
stunServers: [

{% for server in jitsi_meet_config_stun_servers %}
{ urls: 'stun:{{ server }}' }{% if not loop.last -%},
{% endif %}
Expand Down Expand Up @@ -372,7 +387,24 @@ var config = {
// shard: "shard1",
// region: "europe",
// userRegion: "asia"
}
},

// Decides whether the start/stop recording audio notifications should play on record.
// disableRecordAudioNotification: false,

// Information for the chrome extension banner
// chromeExtensionBanner: {
// // The chrome extension to be installed address
// url: 'https://chrome.google.com/webstore/detail/jitsi-meetings/kglhbbefdnlheedjiejgomgmfplipfeb',

// // Extensions info which allows checking if they are installed or not
// chromeExtensionsInfo: [
// {
// id: 'kglhbbefdnlheedjiejgomgmfplipfeb',
// path: 'jitsi-logo-48x48.png'
// }
// ]
// },

// Local Recording
//
Expand All @@ -390,7 +422,7 @@ var config = {
// format: 'flac'
//

// }
// },

// Options related to end-to-end (participant to participant) ping.
// e2eping: {
Expand All @@ -402,22 +434,30 @@ var config = {
// // with the measured RTT will be sent. Defaults to 60000, set
// // to <= 0 to disable.
// analyticsInterval: 60000,
// }
// },

// If set, will attempt to use the provided video input device label when
// triggering a screenshare, instead of proceeding through the normal flow
// for obtaining a desktop stream.
// NOTE: This option is experimental and is currently intended for internal
// use only.
// _desktopSharingSourceDevice: 'sample-id-or-label'
// _desktopSharingSourceDevice: 'sample-id-or-label',

// If true, any checks to handoff to another application will be prevented
// and instead the app will continue to display in the current browser.
// disableDeepLinking: false
// disableDeepLinking: false,

// A property to disable the right click context menu for localVideo
// the menu has option to flip the locally seen video for local presentations
// disableLocalVideoFlip: false
// disableLocalVideoFlip: false,

// Mainly privacy related settings

// Disables all invite functions from the app (share, invite, dial out...etc)
// disableInviteFunctions: true,

// Disables storing the room name to the recents list
// doNotStoreRoom: true,

// Deployment specific URLs.
// deploymentUrls: {
Expand All @@ -427,7 +467,16 @@ var config = {
// // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
// // to the specified URL for an app download page.
// downloadAppsUrl: 'https://docs.example.com/our-apps.html'
// }
// },

// Options related to the remote participant menu.
// remoteVideoMenu: {
// // If set to true the 'Kick out' button will be disabled.
// disableKick: true
// },

// If set to true all muting operations of remote participants will be disabled.
// disableRemoteMute: true,

// List of undocumented settings used in jitsi-meet
/**
Expand Down Expand Up @@ -479,6 +528,12 @@ var config = {
startBitrate
*/


// Allow all above example options to include a trailing comma and
// prevent fear when commenting out the last value.
makeJsonParserHappy: 'even if last key had a trailing comma'

// no configuration value should follow this line.
};

/* eslint-enable no-unused-vars, no-var */

0 comments on commit 4c5285c

Please sign in to comment.