Add variables to fine tune jitsi

This commit is contained in:
Pablo 2020-06-23 19:22:52 -03:00
parent d2a0ec6aa9
commit c341608480
2 changed files with 28 additions and 14 deletions

View File

@ -96,6 +96,18 @@ matrix_jitsi_web_interface_config_show_powered_by: false
matrix_jitsi_web_interface_config_disable_transcription_subtitles: false matrix_jitsi_web_interface_config_disable_transcription_subtitles: false
matrix_jisti_web_interface_config_show_deep_linking_image: false matrix_jisti_web_interface_config_show_deep_linking_image: false
# Jitsi Fine Tune
matrix_jitsi_web_config_disable_AudioLevels: False
matrix_jitsi_web_config_enable_LayerSuspension: False
matrix_jitsi_web_config_channelLastN: -1
matrix_jitsi_web_config_enable_Video_Constraints: False
# This settings work if matrix_jitsi_web_config_enable_Video_Constraints: true
matrix_jitsi_web_config_aspectRatio: 16 / 9
matrix_jitsi_web_config_height_ideal: 720
matrix_jitsi_web_config_height_max: 720
matrix_jitsi_web_config_height_min: 240
matrix_jitsi_prosody_docker_image: "jitsi/prosody:stable-4548-1" matrix_jitsi_prosody_docker_image: "jitsi/prosody:stable-4548-1"
matrix_jitsi_prosody_docker_image_force_pull: "{{ matrix_jitsi_prosody_docker_image.endswith(':latest') }}" matrix_jitsi_prosody_docker_image_force_pull: "{{ matrix_jitsi_prosody_docker_image.endswith(':latest') }}"

View File

@ -81,7 +81,7 @@ var config = {
// Audio // Audio
// Disable measuring of audio levels. // Disable measuring of audio levels.
// disableAudioLevels: false, disableAudioLevels: {{ matrix_jitsi_web_config_disable_AudioLevels|to_json }},
// Start the conference in audio only mode (no video is being received nor // Start the conference in audio only mode (no video is being received nor
// sent). // sent).
@ -109,24 +109,25 @@ var config = {
// util#browser#usesNewGumFlow. The constraints are independency from // util#browser#usesNewGumFlow. The constraints are independency from
// this config's resolution value. Defaults to requesting an ideal aspect // this config's resolution value. Defaults to requesting an ideal aspect
// ratio of 16:9 with an ideal resolution of 720. // ratio of 16:9 with an ideal resolution of 720.
// constraints: { {% if matrix_jitsi_web_config_enable_Video_Constraints %}
// video: { constraints: {
// aspectRatio: 16 / 9, video: {
// height: { aspectRatio: {{ matrix_jitsi_web_config_aspectRatio }},
// ideal: 720, height: {
// max: 720, ideal: {{ matrix_jitsi_web_config_height_ideal|to_json }},
// min: 240 max: {{ matrix_jitsi_web_config_height_max|to_json }},
// } min: {{ matrix_jitsi_web_config_height_min|to_json }}
// } }
// }, }
},
{% endif %}
// Enable / disable simulcast support. // Enable / disable simulcast support.
// disableSimulcast: false, // disableSimulcast: false,
// Enable / disable layer suspension. If enabled, endpoints whose HD // Enable / disable layer suspension. If enabled, endpoints whose HD
// layers are not in use will be suspended (no longer sent) until they // layers are not in use will be suspended (no longer sent) until they
// are requested again. // are requested again.
// enableLayerSuspension: false, enableLayerSuspension: {{ matrix_jitsi_web_config_enable_LayerSuspension|to_json }},
// Suspend sending video if bandwidth estimation is too low. This may cause // Suspend sending video if bandwidth estimation is too low. This may cause
// problems with audio playback. Disabled until these are fixed. // problems with audio playback. Disabled until these are fixed.
@ -211,7 +212,7 @@ hiddenDomain: {{ matrix_jitsi_recorder_domain|to_json }},
// Misc // Misc
// Default value for the channel "last N" attribute. -1 for unlimited. // Default value for the channel "last N" attribute. -1 for unlimited.
channelLastN: -1, channelLastN: {{ matrix_jitsi_web_config_channelLastN|to_json }},
// Disables or enables RTX (RFC 4588) (defaults to false). // Disables or enables RTX (RFC 4588) (defaults to false).
// disableRtx: false, // disableRtx: false,
@ -488,3 +489,4 @@ hiddenDomain: {{ matrix_jitsi_recorder_domain|to_json }},
}; };
/* eslint-enable no-unused-vars, no-var */ /* eslint-enable no-unused-vars, no-var */