Setting up Lib Jitsi Meet - pvgupta24/Jitsi-Meet-Concepts GitHub Wiki
Instructions for setting up Lib Jitsi Meet
Lib-Jitsi-Meet's source code is hosted on GitHub. For its installation, you need to install git in your local machine and have an account on GitHub.
The following are the steps to set up Lib Jitsi Meet on Linux. The same instructions can be followed for other operating systems with minor changes.
- Fork the lib-jitsi-meet GitHub repository from here.
- Lets say, you want the lib-jitsi-meet repository in the path ~/workspace/lib-jitsi-meet in your local machine. Make a directory called workspace using the terminal by typing
cd
to go into the home directory and then typingmkdir workspace
to create a directory called workspace. Then typecd workspace
to go into the workspace directory. - Clone your forked lib-jitsi-meet GitHub repository by running
git clone <lib_jitsi_meet_fork_uri>
, where <lib_jitsi_meet_fork_uri> is the uri needed to clone this repository. - Install nodejs and npm by typing
sudo apt-get install nodejs
andsudo apt-get install npm
in terminal. - Enter ~workspace/lib-jitsi-meet and run
npm install
. - You can make a small change in the code to see if you are correctly using your own version. Let’s edit Chatroom.js in lib-jtisi-meet/modules/xmpp/. On line 942 (may vary), we can do something like:
if (txt) {
const realTxt = txt + ' and this is my first change!';
if (type === 'chat') {
this.eventEmitter.emit(XMPPEvents.PRIVATE_MESSAGE_RECEIVED,
from, nick, realTxt, this.myroomjid, stamp);
} else if (type === 'groupchat') {
this.eventEmitter.emit(XMPPEvents.MESSAGE_RECEIVED,
from, nick, realTxt, this.myroomjid, stamp);
}
}