VOSK transcription service no longer works with Jitsi 2.0.7830
See original GitHub issueDescription
The transcription service no longer works when using VOSK with Jitsi 2.0.7830.
Current behavior
Whatever language you choose when starting the subtitles, it will not display the subtitles. However, when using Chrome DevTools, the network tab shows that the subtitles are received by the client through the websocket.
Expected Behavior
When clicking on the language which corresponds to the VOSK model, the subtitles should be displayed at the bottom of the screen, like they were on previous versions of Jitsi (prior to 2.0.7830).
Possible Solution
In the Jitsi-meet source code, there is a check that compares the requested language with the sent language, here.
However, there is a hardcoded "C"
as the language code sent to the jitsi-meet client, from Jigasi, here.
Changing this "C"
to "en-US"
and selecting “English” in the subtitles menu in jitsi fixes the problem.
The fix boils down to receiving the language code requested by Jitsi in Jigasi.
Steps to reproduce
- Setup a working installation of jitsi meet with vosk subtitles.
- Upgrade to jitsi 2.0.7830.
- Enable the subtitles for any language.
- The subtitles do not appear.
Environment details
Jitsi 2.0.7830 and Jigasi HEAD
Issue Analytics
- State:
- Created a year ago
- Comments:13 (13 by maintainers)
Top GitHub Comments
What is that? I don’t understand and what is its relation to transcription?
This is being updated and the code of handling that I showed above: https://github.com/jitsi/jigasi/issues/448#issuecomment-1265531514
Nevermind, I found it 👍
EDIT: Just received your message, thanks!