This repo is a BigBlueButton Multi-Server Recording Helper written in node.js and consists of 2 tools.
The index.js file uses the server URLs declared in the .env file which is separated by spaces as shown in the examples. The pattern of the server secrets is similar to server URLs.
There are 2 endpoints in this file.
1. /recordings
Automatically sends multiple simultaneous requests to fetch all the recordings from multiple servers, parses the XML, and outputs a prettier and more elegant JSON which can be interpreted in any programming language.
2. /recordings/delete
Gets the playback URL and "meetingID", finds the propper server, and deleted the desired recording.
BigBlueButton isn't really known for the great CLI it provides to manage and delete recordings. This tool provides a simple way to delete all recordings older than the desired number of days at any given moment and eliminates the need to wait for the daily cronjobs and the janky systems that BigBlueButton itself uses.
All the following tasks are done using the official BigBlueButton API and there is no private API or hack involved.
- axios/axios
- Gozala/crypt
- Leonidas-from-XIV/node-xml2js
- expressjs/express
- expressjs/cors
- motdotla/dotenv
npm install