/jitsi-party

Primary LanguageJavaScriptMIT LicenseMIT

jitsi-party

Contributing

Installation

# Set up a virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

# Make sure you have node/npm installed
brew install node

# Install client dependencies
cd app/client/
npm install

Running the app locally

# Run flask server
cd app/
python app.py

# Run webpack
cd client/
bash run.sh

The app should now be running on localhost:3000

Jitsi API documentation

https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md

A slightly irritating note

It seems like the Jitsi Meet library isn't intended to be consumed the way you'd use a regular JS library in a modern app, i.e., it seems you can't import it. We have to use a script tag to get it working, and then access the global variable:

<body>
  ...
  <script src='https://meet.jit.si/external_api.js'></script>
  <script type="text/javascript" src="js/bundle.js"></script>
</body>
// To use inside a React component
const JitsiAPI = window.JitsiMeetExternalAPI