User Tools

Site Tools


user:jan001:jitsi_docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
user:jan001:jitsi_docker [2021/04/01 17:17] jan001user:jan001:jitsi_docker [2021/04/09 13:08] jan001
Line 59: Line 59:
   gzip_buffers 16 8k;   gzip_buffers 16 8k;
   gzip_http_version 1.1;   gzip_http_version 1.1;
-  gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascri$+  gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
  
    location / {    location / {
Line 98: Line 98:
   - make sure Jitsi was run at least once   - make sure Jitsi was run at least once
   - stop it if its running <code>docker-compose stop</code>   - stop it if its running <code>docker-compose stop</code>
-  - <code>rm -r ~/.jitsi-meet-cfg</code>+  - <code>sudo rm -r ~/.jitsi-meet-cfg</code>
   - <code>mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody,jicofo,jvb,jigasi,jibri}</code>   - <code>mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody,jicofo,jvb,jigasi,jibri}</code>
   - <code>nano .env</code>   - <code>nano .env</code>
Line 116: Line 116:
   - make sure Jitsi was run at least once   - make sure Jitsi was run at least once
   - stop it if its running <code>docker-compose stop</code>   - stop it if its running <code>docker-compose stop</code>
-  - <code>sudo nano ~/.jitsi-meet-cfg/web/config.js</code> +  - <code>nano ~/.jitsi-meet-cfg/web/custom-config.js</code> 
-  - only the moderator should be starting with audio <code>startAudioMuted1,</code> +  - <code>config.startAudioMuted 1; 
-  - <code>resolution1080,</code> +config.resolution 1080; 
-  - <code> +config.constraints.video.height {ideal: 1080, max: 1440, min:480}; 
-constraints: { +config.startVideoMuted 1; 
-       video: { +config.enableNoisyMicDetection = 1; 
-           height{ +config.desktopSharingFrameRate {min: 5, max: 24}; 
-               ideal: 1080, +config.videoQuality.maxBitratesVideo {low: 1500000, standard: 5000000, high: 10000000}</code>
-               max: 1440, +
-               min: 480 +
-           +
-       } +
-     },</code> +
-  - only the moderator should be starting with video <code>startVideoMuted1,</code> +
-  - <code> +
-desktopSharingFrameRate{ +
-       min: 5, +
-       max: 24 +
-     },</code> +
-  - <code>videoQuality: { +
-        // Provides a way to prevent a video codec from being negotiated on the JVB connectionThe codec specified +
-        // here will be removed from the list of codecs present in the SDP answer generated by the client. If the +
-        // same codec is specified for both the disabled and preferred option, the disable settings will prevail. +
-        // Note that 'VP8' cannot be disabled since it's a mandatory codec, the setting will be ignored in this case. +
-    //    disabledCodec: 'H264', +
- +
-        // Provides a way to set a preferred video codec for the JVB connection. If 'H264' is specified here, +
-        // simulcast will be automatically disabled since JVB doesn't support H264 simulcast yet. This will only +
-        // rearrange the the preference order of the codecs in the SDP answer generated by the browser only if the +
-        // preferred codec specified here is present. Please ensure that the JVB offers the specified codec for this +
-        // to take effect. +
-    //    preferredCodec: 'VP8', +
- +
-        // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for +
-        // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values +
-        // are the max.bitrates to be set on that particular type of stream. The actual send may vary based on +
-        // the available bandwidth calculated by the browser, but it will be capped by the values specified here. +
-        // This is currently not implemented on app based clients on mobile. +
-        maxBitratesVideo{ +
-            low: 1500000, +
-            standard: 5000000, +
-            high: 10000000 +
-        }+
- +
-        // The options can be used to override default thresholds of video thumbnail heights corresponding to +
-        // the video quality levels used in the application. At the time of this writing the allowed levels are: +
-        //     'low' - for the low quality level (180p at the time of this writing) +
-        //     'standard' - for the medium quality level (360p) +
-        //     'high' - for the high quality level (720p) +
-        // The keys should be positive numbers which represent the minimal thumbnail height for the quality level. +
-        // +
-        // With the default config value below the application will use 'low' quality until the thumbnails are +
-        // at least 360 pixels tall. If the thumbnail height reaches 720 pixels then the application will switch to +
-        // the high quality. +
-    //    minHeightForQualityLvl:+
-    //        360: 'standard', +
-    //        720: 'high' +
-    //    }, +
- +
-        // Provides a way to resize the desktop track to 720p (if it is greater than 720p) before creating a canvas +
-        // for the presenter mode (camera picture-in-picture mode with screenshare). +
-    //    resizeDesktopForPresenter: false +
-     },</code> this will set the low bitrate to 1,5Mbit, the standard to 5Mbit and the high to 10Mbit+
   - Save and quit the file   - Save and quit the file
   - <code>docker-compose up -d</code>   - <code>docker-compose up -d</code>
 +
 +I´ve done this differently before by editing the ''%%config.js%%'' directly (see older revisions) but it seemed to me that the settings weren't saved correctly. This post helped me: [[https://community.jitsi.org/t/solved-config-js-recreated-on-every-container-start-how-to-configure/82454/6|[Solved] Config.js recreated on every container start - how to configure?]]
  
  
user/jan001/jitsi_docker.txt · Last modified: 2021/08/24 17:35 by 127.0.0.1