Update customize.md

Added text for using Gladia.io in 2.7.4.
This commit is contained in:
Fred Dixon 2024-01-16 09:51:53 -04:00 committed by GitHub
parent 75af5c03e7
commit 551028ba51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1346,6 +1346,31 @@ public:
Restart BigBlueButton with `sudo bbb-conf --restart` and you should now see the options for live captions when joining audio. Restart BigBlueButton with `sudo bbb-conf --restart` and you should now see the options for live captions when joining audio.
### Configuration of gladia.io
To use gladia.io for automatic speech-to-text transcriptions, you first need to obtain an API key from [gladia.io](gladia.io). You can signup for free credentials to test the integration.
Next, you must be using BigBlueButton 2.7.4 (pass `-v focal-270`) or later on Ubuntu 20.04 server with a public IP and hostname.
One you have BigBlueButton installed, run `sudo apt install bbb-transcription-controller` to install the transcription server for gladia.io.
Next, run `sudo bbb-conf --setip <hostname>` where <hostname> is the external hostname of the server (same as was passed to bbb-install.sh). This will update the gladia.io configuration to use your hostname.
Next, to enable gladia.io, run the following two commands
```
yq w -i /etc/bigbluebutton/bbb-html5.yml public.app.audioCaptions.enabled true
yq w -i /etc/bigbluebutton/bbb-html5.yml public.app.audioCaptions.provider gladia
```
Next, set the gladia.io API key using the command below, replacing '<x_gladia_key>' with a glada.io API key obtained above.
```
yq w -i /usr/local/bigbluebutton/bbb-transcription-controller/config/default.yml gladia.startMessage '{"<x_gladia_key>": "<gladia-api-key>", "sample_rate": 0, "bit_depth": 16, "model_type": "fast", "endpointing": 10 }'
```
Restart the BigBlueButton server with `bbb-conf --restart`. You will now be able to select a speech-to-text option when joining audio (including auto translate). When one or more users have selected the option, a CC button will appear at the bottom and a Transcript panel will appear.
### Configuration of global settings ### Configuration of global settings