Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(whisper): Fixes leaking whisper connections. #511

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Conversation

damencho
Copy link
Member

@damencho damencho commented Dec 1, 2023

No description provided.

Moves setting transcriber room name earlier, so we can use it in creating the transcriber sessions.

When a participant never talked, is missing in one of the participants lists and those got desync and we never remove the websocket from the pool, which results in reusing it for the same room (the socket has timeouted and disconnected) and there is a NPE that prevents transcriptions in the meeting.
2023-11-30 13:09:17.645 SEVERE: [188854] org.jivesoftware.smack.AbstractXMPPConnection.lambda$invokeStanzaCollectorsAndNotifyRecvListeners$8: Exception in packet listener
java.lang.NullPointerException
	at org.jitsi.jigasi.transcription.WhisperWebsocket.addParticipantIfNotExists(WhisperWebsocket.java:362)
	at org.jitsi.jigasi.transcription.WhisperWebsocket.addListener(WhisperWebsocket.java:373)
	at org.jitsi.jigasi.transcription.WhisperTranscriptionService$WhisperWebsocketStreamingSession.addTranscriptionListener(WhisperTranscriptionService.java:170)
	at org.jitsi.jigasi.transcription.Participant.joined(Participant.java:524)
@damencho damencho merged commit 86273ae into master Dec 1, 2023
2 checks passed
@damencho damencho deleted the fix-NPE-whisper branch December 1, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants