Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myomikron/bbb-rec-starter
This repository is meant to expose the startRecording functionality of bbb
https://github.com/myomikron/bbb-rec-starter
Last synced: 19 days ago
JSON representation
This repository is meant to expose the startRecording functionality of bbb
- Host: GitHub
- URL: https://github.com/myomikron/bbb-rec-starter
- Owner: myOmikron
- License: gpl-3.0
- Created: 2020-10-24T10:48:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-22T21:26:16.000Z (about 1 year ago)
- Last Synced: 2023-10-23T18:40:27.752Z (about 1 year ago)
- Language: Python
- Size: 71.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bbb-rec-starter
This repository is meant to expose the startRecording functionality of bbb.It uses a headless browser to join the specific meeting and pushes the startRecording Button. This was a design decision in order to change as few code as possible to keep the maintainability high. This project does not touch any of the original files, so it is possible to install it on the same server bigbluebutton runs on.
## Setup Configuration
Clone the project and modify the `settings.py` to match your needs.
`bbb_rec_starter/bbb_rec_starter/settings.py`
```
[...]SECRET_KEY = 'change_this'
[...]
# Add the hosts which are allowed to access the api
ALLOWED_HOSTS = [][...]
RCP_TIME_DELTA = 5
RCP_SECRET = "change_this"# BBB Settings
# Change this to your BBB server secrets. This can be done with bbb-conf --secret on the bbb server
BBB_ENDPOINT = "https://bbb.example.com/bigbluebutton/"
BBB_SECRET = "change_this"
```## Installation
In order to deploy this project start the installer as root / sudo privileged user:
```
./install.sh
```When you are done with the configuration, start the service with `systemctl start bbb-rec-starter`
## How to use the API
- Method: `POST`
- Endpoint: `/bigbluebutton/api/scheduleRecording`Authentication is done via [RCP](https://github.com/myOmikron/rcp). The endpoint `scheduleRecording` is used as salt.
| Parameter | Description |
|------------|--------------------------------------------------------------|
| checksum | Checksum generated via RCP |
| meeting_id | The ID of the meeting the recording should be scheduled for |### Response
The API returns a json object with the following structure:
```json
{
"success": bool,
"message": str
}
```