06 / Integrations
Meeting subtitles
On this page 5
Synaplan writes down what people say in a meeting and saves a text file.
| Meeting app | Now |
|---|---|
| Jitsi | Yes. The steps are below. |
| OpenTalk | Yes. The steps are below. |
| Nextcloud Talk | Follows. There is no switch yet. |
| BigBlueButton | Follows. There is no switch yet. |
In Synaplan, an administrator opens Admin → Meeting notes. The page has four parts, in this order:
- Speech. One speech server and one transcriber secret, for every meeting app.
- Jitsi. Turn on the Meeting notes button.
- OpenTalk. Turn on subtitles for OpenTalk.
- Next. Nextcloud Talk and BigBlueButton. Nothing to turn on yet.
You already have Synaplan, and you already have Jitsi or OpenTalk. You do not install a new meeting app. You start one small Synaplan program, the subtitles service, and you tell the meeting app where that program is.
Jitsi and OpenTalk each need their own subtitles service. Do not point both at the same one.
You also need a speech service, the program that turns sound into text. On an openDesk install that is Whisper, and the Jitsi steps below turn it on. If you are not sure you have one, ask the person who installed Synaplan before you continue.
Jitsi subtitles need Synaplan 5.6 or newer. OpenTalk subtitles need a Synaplan newer than 5.10.4.
Jitsi#
Use this when your meetings run in Jitsi.
If Synaplan was installed with the openDesk Helm charts#
This is the normal openDesk install. You add two files and apply. You do not edit Jitsi by hand. The charts put the button into Jitsi and start the subtitles service.
In the Helmfile:
apps:
synaplanStt:
enabled: true
technical:
synaplan:
synascriber:
enabled: true
jitsiRelease: jitsi
customization:
release:
jitsi:
synascriber: "<synaplan-charts>/helmfile/opendesk/synascriber-jitsi.yaml.gotmpl"
<synaplan-charts> is the folder where you cloned synaplan-charts. The file synascriber-jitsi.yaml.gotmpl is what gets installed into Jitsi.
Put helmfile/opendesk/synascriber-client.yaml.gotmpl into the openDesk environment folder, next to synaplan-client.yaml.gotmpl. That file lets the button sign people in.
Apply the Synaplan release and the Jitsi release.
You are done. In a meeting, click Meeting notes, pick a language, and speak. When the notes stop, each signed-in person finds the text in Synaplan under Sources → Generated.
If you do not use those charts#
Do these three parts in order.
1. Start the subtitles service on a machine that can reach Synaplan, and that Jitsi can reach.
Invent two long passwords. You will paste each one a second time below.
docker run -d --name synaplan-jitsi \
-p 8095:8095 \
-e TRANSCRIBER_MODE=jitsi \
-e SYNAPLAN_URL=https://your-synaplan.example \
-e SYNAPLAN_TRANSCRIBER_SECRET=password-one \
-e TRANSCRIBER_AUTH_TOKEN=password-two \
ghcr.io/metadist/synaplan-transcriber:latest
2. Turn it on in Synaplan. Sign in as an administrator. If Admin → Meeting notes is missing, install the plugin once:
php bin/console app:plugin:install-verified-users synascriber
Open Admin → Meeting notes.
Under Speech:
| Field | What to put |
|---|---|
| Speech-to-text server | The address of Whisper, or of the speech service you already use |
| Shared secret with the transcriber | password-one from the command above. The field starts empty. Type the password once. Leave it blank on a later save, and the stored password stays. |
Under Jitsi, turn on Show the Meeting notes button in Jitsi, then:
| Field | What to put |
|---|---|
| Jitsi address | The address people use to join, such as https://meet.example |
| Jitsi connection (Prosody) | Jitsi's Prosody, inside your network. In Docker this is often http://prosody:5280 |
| Shared secret with Jitsi | A third password you invent. Prosody needs the same password in the next step. The field starts empty. Leave it blank on a later save, and the stored password stays. |
3. Tell Jitsi. Three pastes, then restart Prosody and Jicofo.
The button, in Jitsi's head.html:
<script defer src="https://your-synaplan.example/api/v1/plugins/synascriber/assets/jitsi/loader.js"
data-synaplan="https://your-synaplan.example"
data-issuer="https://your-keycloak.example/realms/your-realm"
data-client-id="synascriber"></script>
In Keycloak, create a public client named synascriber. It has no secret. Its redirect address is:
https://your-synaplan.example/api/v1/plugins/synascriber/jitsi/silent
Prosody. Copy mod_synascriber.lua out of the subtitles image (it is at /app/prosody/mod_synascriber.lua) into Prosody's plugin folder, and set:
XMPP_MODULES=synascriber
SYNASCRIBER_SECRET=the-third-password
Jicofo. This is the line that sends the audio to Synaplan. password-two is the second password from the docker command.
transcription {
url-template = "ws://synaplan-jitsi:8095/transcribe?sessionId={{MEETING_ID}}"
http-headers {
"Authorization" = "Bearer password-two"
}
}
Use the address Jicofo can actually open. synaplan-jitsi works when both run in the same Docker network. Otherwise use the host name of the machine from step 1.
In a meeting, click Meeting notes.
OpenTalk#
Use this when your meetings run in OpenTalk 26.3 or newer.
If the Jitsi service from above is already running, leave it alone and start a second one with a different name and port.
1. Turn it on in Synaplan. Sign in as an administrator. If Admin → Meeting notes is missing:
php bin/console app:plugin:install-verified-users synascriber
Open Admin → Meeting notes.
Under Speech, set Speech-to-text server. Type a password into Shared secret with the transcriber. The field starts empty: type the password once, and leave it blank on a later save so the stored password stays.
Under OpenTalk, turn on OpenTalk meetings: Synaplan writes the subtitles. Save.
OpenTalk subtitles says OK when the speech server answers and the secret is set. That line does not contact OpenTalk. OpenTalk calls the service you start next.
2. Start the subtitles service on a machine that can reach OpenTalk's LiveKit. That address is part of your OpenTalk install. Inside Docker it is often http://livekit:7880.
You need one password OpenTalk already has: the controller API key. It looks like controller:a-long-secret. If you do not have it, ask the person who installed OpenTalk.
Invent a second password. You will paste it into OpenTalk in step 3.
docker run -d --name synaplan-opentalk \
-p 8095:8095 \
-e TRANSCRIBER_MODE=opentalk \
-e SYNAPLAN_URL=https://your-synaplan.example \
-e SYNAPLAN_TRANSCRIBER_SECRET=the-password-from-the-plugin-page \
-e OPENTALK_CONTROLLER_URL=https://your-opentalk.example \
-e OPENTALK_SERVICE_KEY=controller:the-controller-secret \
-e OPENTALK_INIT_KEY=transcription:password-you-invent \
-e OPENTALK_LIVEKIT_URL=http://livekit:7880 \
ghcr.io/metadist/synaplan-transcriber:latest
The service does not start if OPENTALK_LIVEKIT_URL is empty.
3. Tell OpenTalk. On the OpenTalk controller, add this and restart the controller. The address is the machine from step 2, as the controller can reach it. The id and the secret are the two halves of OPENTALK_INIT_KEY.
[roomserver.modules.transcription]
url = "https://the-subtitles-service:8095"
api_key = { id = "transcription", secret = "password-you-invent" }
4. Use it. In a meeting, a moderator opens More options → Enable subtitles, turns the switch on, picks a language, and saves. Everyone else presses Show. Turning the switch off stops the lines.
When the lines stop, Synaplan saves the transcript. Each person in the meeting who has a Synaplan account gets a copy under Sources → Generated. When nobody in the meeting matches an account, every administrator gets the copy, so the meeting is not lost. Audio is not kept. OpenTalk itself only says that subtitles are on, so tell people that a transcript is kept.
On Meeting notes, the introduction names OpenTalk, and each saved row says OpenTalk. Open file opens that copy.
It works when#
Open http://the-service:8095/health in a browser. The page says "ok": true.
Then start subtitles in a real meeting and say a sentence. The line shows up with the speaker's name. For Jitsi, click Meeting notes. For OpenTalk, a moderator uses More options → Enable subtitles. When the lines stop, the text is on the Meeting notes page and under Sources → Generated.