Jigasi randomly starts sending raw VOSK JSON response as subtitles

Hello,

When using Jigasi with VOSK, after a while (from 10m to 30m), the transcription service randomly starts uploading the raw JSON VOSK response to Jitsi, as subtitles.

It looks like this:

It seems that Jigasi enters a singleRequest modeafter the WebSocket connection with VOSK fails. ThesingleRequest` implementation sends the raw output of the VOSK response to Jitsi which is incorrect.

I think Jigasi should try to reopen the connection with VOSK, as VOSK does not support Single requests.

@Nickolay_Shmyrev tagging you as you were the one contributing the VOSK implementation.

1 Like

Hi there,
I’ve proposed a fix here:

1 Like