Skip to content

Instantly share code, notes, and snippets.

@gigabyteservice
gigabyteservice / jitsi_uploader.sh
Created October 20, 2021 20:14 — forked from sarahbanas/jitsi_uploader.sh
Modified /usr/bin/jitsi_uploader.sh that modifies the video file names and path, allowing you to insert the data into a remote or local MySQL database and move the video file to the static jitsi folder for browser viewing/download.
#!/bin/bash
RECORDINGS_DIR=$1
VIDEO_FILE_PATH=$(find $RECORDINGS_DIR -name *.mp4)
VIDEO_FILE_NAME=${VIDEO_FILE_PATH}
### WE USE THIS FILE FOR UPLOADS
CONFIG_FILE_PATH="/etc/jitsi/uploader"
# pull jitsi uploader environment var overrides if it exists
@gigabyteservice
gigabyteservice / conference.js
Created October 20, 2021 20:10 — forked from sarahbanas/conference.js
Jitsi issue: when a moderator leaves, the room still exists and participants stick around. Fix: replace original USER_LEFT (around line 1988) with the function below. It will kick all users out and leave/disconnect the room.
room.on(JitsiConferenceEvents.USER_LEFT, (id, user) => {
// The logic shared between RN and web.
commonUserLeftHandling(APP.store, room, user);
// if user is a moderator, kick everyone out
if(user.isModerator) {
let participants = APP.conference.listMembers();
participants.forEach(participant => {
APP.store.dispatch(kickedOut(room, participant));
this.leaveRoomAndDisconnect();
@gigabyteservice
gigabyteservice / prosody-custom-http-auth.md
Created October 8, 2021 17:50 — forked from facsiaginsa/prosody-custom-http-auth.md
This guide is to show you how to use mod_auth_custom_http in prosody.
@gigabyteservice
gigabyteservice / jitsi-meet-multi-server.md
Created October 8, 2021 17:48 — forked from facsiaginsa/jitsi-meet-multi-server.md
This tutorial is for jitsi-meet installation using 2 server or more. The main server will contain jitsi-meet react source code, prosody, nginx, and jicofo. The videobridge will be installed seperatelly on the second server and so on.

How to Install Jitsi Meet with Multi Server Configuration

This tutorial is for jitsi-meet installation using 2 server or more. The main server will contain jitsi-meet react source code, prosody, nginx, and jicofo. The videobridge will be installed seperatelly on the second server and so on.

Prerequisite

  1. Minimum 2 server with 1 IP Public each
  2. Ubuntu 18.04

Sudo Privileges

Before start we make sure that we will have no permission issue on the installation.