Epidemiology & Technology

Jisti meet Customizations

The Key Files are

Videobridge

# cd /etc/jitsi/videobridge/ && sudo ls -al  

-rw-r--r-- 1 jvb  jitsi  183 Aug  6  2019 callstats-java-sdk.properties
-rw-r--r-- 1 jvb  jitsi  779 Jun 16 20:01 config
-rw-r--r-- 1 jvb  jitsi 1068 Apr 17 01:42 log4j2.xml
-rw-r--r-- 1 jvb  jitsi 1591 May 11 13:48 logging.properties
-rw-r--r-- 1 jvb  jitsi 1044 May  7 21:05 logging.properties.dpkg-dist
-rw-r--r-- 1 jvb  jitsi  952 Jun 16 20:01 sip-communicator.properties
Code language: Bash (bash)
  • Advanced Configuration
  • Statistics
# sudo nano -w /etc/jitsi/videobridge/sip-communicator.properties

org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER=true
#org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
#ADDED FOR NAT TRAVERSAL
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=192.168.XXX.XXX
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=14.XXX.XXX.XXX

# Statistics
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.rest.private.jetty.port=8080
# ENABLING next line causes CRASH 
  # org.jitsi.videobridge.STATISTICS_TRANSPORT=colibri

Code language: Bash (bash)
# sudo nano   /etc/jitsi/videobridge/config

# Jitsi Videobridge settings

# sets the XMPP domain (default: none)
JVB_HOSTNAME=meet.aiims.edu

# sets the hostname of the XMPP server (default: domain if set, localhost otherwise)
JVB_HOST=

# sets the port of the XMPP server (default: 5275)
JVB_PORT=5347

# sets the shared secret used to authenticate to the XMPP server
JVB_SECRET=XXXXXXXX

# extra options to pass to the JVB daemon
JVB_OPTS="--apis=rest"


# adds java system props that are passed to jvb (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicato>

Code language: Bash (bash)

JICOFO

sudo  ls -al  /etc/jitsi/jicofo/

-rw-r--r-- 1 jicofo jitsi  994 Apr 30 18:26 config
-rw-r--r-- 1 jicofo jitsi 2055 May  7 21:25 logging.properties
-rw------- 1 jicofo jitsi  159 May 30 10:29 sip-communicator.propertiesCode language: Bash (bash)

Disable Auto login

# sudo nano -w        /etc/jitsi/jicofo/sip-communicator.properties                           

org.jitsi.jicofo.BRIDGE_MUC=JvbBrewery@internal.auth.meet.aiims.edu
org.jitsi.jicofo.auth.URL=XMPP:meet.aiims.edu
org.jitsi.jicofo.auth.DISABLE_AUTOLOGIN=true

Code language: Bash (bash)

NginX

SSL

# sudo vim /etc/nginx/sites-enabled/meet.aiims.edu.conf

{ server
...
listen 4444
...
    ssl_certificate /etc/nginx/ssl/aiims.edu.crt;
    ssl_certificate_key /etc/nginx/ssl/aiims.edu.key;
...
}Code language: PHP (php)

COTURN

SSL

# sudo nano /etc/turnserver.conf

# jitsi-meet coturn config. Do not modify this line
use-auth-secret
keep-address-family
static-auth-secret=XXXXXXXXXXXXXXXXX
realm=meet.aiims.edu
#cert=/etc/jitsi/meet/meet.aiims.edu.crt
#pkey=/etc/jitsi/meet/meet.aiims.edu.key

cert=/etc/nginx/ssl/aiims.edu.crt
pkey=/etc/nginx/ssl/aiims.edu.key

no-tcp
listening-port=4446
tls-listening-port=4445
external-ip=14.139.XXX.XXX

syslog
Code language: PHP (php)

PROSODY

SSL

Basic Auth

Speaker Stats

User Accounts

Jisti Meet Features

Logo

cd /usr/share/jitsi-meet/images/
sudo mv watermark.png watermark.png.old
sudo cp ~/aiims.png watermark.png

Welcome Text

# sudo nano /usr/share/jitsi-meet/libs/app.bundle.min.js 

appDescription:"Welcome to the AIIMS VC Portal. Please type a room name below to start or join a Video Conference. AIIMS VC Portal is a fully encrypted, 100% open source video conferencing solution that you can use all day, every day, for free. But an account is needed. Faculty may contact Computer Facility, AIIMS for an account."Code language: PHP (php)

Kicked out text

kickMessage:"You can contact {{participantDisplayName}} for more details.",kickParticipantButton:"Kick",kickParticipantDialog:"Are you sure you want to kick this participant?",kickParticipantTitle:"Kick this participant?",kickTitle:"Ouch! {{participantDisplayName}} kicked you out of the meeting",




kickMessage:"You can contact {{participantDisplayName}} for more details.",kickParticipantButton:"Remove",kickParticipantDialog:"Are you sure you want to Remove this participant?",kickParticipantTitle:"Remove this participant?",kickTitle:"{{participantDisplayName}} removed you from the meeting",



kickParticipant:"{{kicked}} was kicked by {{kicker}}

kickParticipant:"{{kicked}} was removed by {{kicker}}
Code language: PHP (php)

UI Elements / Buttons and Website name

sudo nano /usr/share/jitsi-meet//interface_config.jsCode language: JavaScript (javascript)
DISABLE_VIDEO_BACKGROUND: true,
DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow VC Participant',
GENERATE_ROOMNAMES_ON_WELCOME_PAGE: false,

APP_NAME: 'AIIMS VC Portal',

# DELETE 'livestreaming', 'recording', 'invite', 'closedcaptions', 'etherpad', 'download',

    TOOLBAR_BUTTONS: [
        'microphone', 'camera',  'desktop', 'fullscreen',
        'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 
          'sharedvideo', 'settings', 'raisehand',
        'videoquality', 'filmstrip', 'feedback', 'stats', 'shortcuts',
        'tileview', 'videobackgroundblur',  'help', 'mute-everyone',
        'e2ee'
    ],

DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,


Code language: PHP (php)

Website Title

sudo nano /usr/share/jitsi-meet/title.html
<title>AIIMS VC Portal</title>
<meta property="og:title" content="AIIMS VC Portal"/>
<meta property="og:image" content="images/jitsilogo.png?v=1"/>
<meta property="og:description" content="Join a WebRTC video conference at AIIMS VC Portal powered by the Jitsi Videobridge"/>
<meta description="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
<meta itemprop="name" content="Jitsi Meet"/>
<meta itemprop="description" content="Join a WebRTC video conference at AIIMS VC Portal  powered by the Jitsi Videobridge"/>
<meta itemprop="image" content="images/jitsilogo.png?v=1"/>
<link rel="icon" type="image/png" href="images/favicon.ico?v=1"/>
Code language: HTML, XML (xml)
DISABLE_VIDEO_BACKGROUND: true,

DEFAULT_REMOTE_DISPLAY_NAME: 'Fellow VC Participant',  

Code language: JavaScript (javascript)

Jitsi Meet Optimization

Background

Muted

Related Posts