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
user:jan001:jitsi_docker [2021/04/01 17:02] jan001user:jan001:jitsi_docker [2021/08/24 17:35] (current) – external edit 127.0.0.1
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 109: Line 109:
   - <code>docker exec -it CONTAINER-ID-HERE /bin/bash</code>   - <code>docker exec -it CONTAINER-ID-HERE /bin/bash</code>
   - <code>su</code>   - <code>su</code>
-  - change the ''%%username%%'' and ''%%password%%'' in this command: <code>prosodyctl --config /config/prosody.cfg.lua register username meet.jitsi password</code>+  - change the ''%%username%%'' and ''%%password%%'' in this command: <code>prosodyctl --config /config/prosody.cfg.lua register username meet.jitsi password</code> These credentials are now needed to create a new room
   - <code>exit</code>   - <code>exit</code>
   - <code>exit</code>   - <code>exit</code>
  
 +==== Configure Jitsi for high quality webcams and screenshares ====
 +  - make sure Jitsi was run at least once
 +  - stop it if its running <code>docker-compose stop</code>
 +  - <code>nano ~/.jitsi-meet-cfg/web/custom-config.js</code>
 +  - <code>config.startAudioMuted = 1;
 +config.resolution = 1080;
 +config.constraints.video.height = {ideal: 1080, max: 1440, min:480};
 +config.startVideoMuted = 1;
 +config.enableNoisyMicDetection = 1;
 +config.desktopSharingFrameRate = {min: 5, max: 24};
 +config.videoQuality.maxBitratesVideo = {low: 1500000, standard: 5000000, high: 10000000}</code>
 +  - Save and quit the file
 +  - <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.1617289368.txt.gz · Last modified: 2021/08/24 17:34 (external edit)