You can use Jitsi Meet API to create Jitsi Meet video conferences with a custom GUI.
To build the library, just type:
npm install
npm run build
To lint:
npm run lint
and to run unit tests:
npm test
if you need to rebuild lib-jitsi-meet.min.js
npm run build
Both linting and units will also be done by a pre-commit hook.
To test this library, you will need https://github.com/jitsi/jitsi-meet. There is a pretty good tutorial in jitsi docs https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-web-jitsi-meet.
Here is a resume of how you can run your own environment:
-
Create a folder called meet or whatever you want to call this project.
-
Clone this repository.
-
Run
cd lib-jitsi-meetto move to the folder. -
Run the commands below to create a link to your local library and build it.
npm install npm link npm run build -
Run
cd .. -
Go to https://github.com/jitsi/jitsi-meet and clone the repository.
-
Run
cd jitsi-meet -
Run
npm link lib-jitsi-meetnpm link lib-jitsi-meet npm install make dev
If you want to make changes to only lib-jitsi-meet, you need to run npm run build and restart the make dev process. Otherwise, the changes you made to the library are not going to be shown in the app.
Update the package.json "version" field to the next release number (e.g. from 1.2.3 to 1.2.4).
- Go to your GitHub repo’s Releases page.
- Click Draft a new release.
- Tag the release with the new version (e.g. v1.2.4).
- Title it “v1.2.4” and paste your changelog bullet list in the description.
- Click Save draft (do not publish yet).
npm install # ensure dependencies are up to date
npm pack # creates a .tgz bundle (e.g. lib-jitsi-meet-1.2.4.tgz)
In your draft release on GitHub, upload the generated lib-jitsi-meet-1.2.4.tgz under Attach binaries by dropping them here or selecting them.
With the .tgz attached, click Publish release.
In the internxt-meet repo’s package.json, change the lib-jitsi-meet entry to the new tarball URL:
"dependencies": {
"lib-jitsi-meet": "https://github.com/internxt/lib-jitsi-meet/releases/download/v1.2.4/lib-jitsi-meet-1.2.4.tgz",
// … other deps …
}