question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VOSK transcription service no longer works with Jitsi 2.0.7830

See original GitHub issue

Description

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

  1. Setup a working installation of jitsi meet with vosk subtitles.
  2. Upgrade to jitsi 2.0.7830.
  3. Enable the subtitles for any language.
  4. The subtitles do not appear.

Environment details

Jitsi 2.0.7830 and Jigasi HEAD

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
damenchocommented, Oct 4, 2022

Do you know if I can get the value of this object in Jigasi?

What is that? I don’t understand and what is its relation to transcription?

My idea is to retrieve options.transcriptionLanguage which is set here in Jitsi, and use it to always return the correct transcription language in Jigasi.

This is being updated and the code of handling that I showed above: https://github.com/jitsi/jigasi/issues/448#issuecomment-1265531514

1reaction
charles-zablitcommented, Oct 3, 2022

Could you please point me to where this information is available in Jigasi’s code, if it is available?

Nevermind, I found it 👍

EDIT: Just received your message, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strategy to implement other transcribing services than Google ...
I am working on some fixes for implementing VOSK with Jigasi and Jitsi. Since the new stable version of Jitsi (2.0.7830) there has...
Read more >
Issues · jitsi/jigasi - GitHub
Jigasi: a server-side application acting as a gateway to Jitsi Meet conferences. ... VOSK transcription service no longer works with Jitsi 2.0.7830.
Read more >
jigasi - Github Plus
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 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found