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

jibri_autostart: handle occupant leaving soon after join #36

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

shawnchin
Copy link
Collaborator

The jid from event is only used to lookup occupant data 3 seconds after joining. If user leaves during that window, nil is returned from occupant lookup and we see error as posted here.

The jid from event is only used to lookup occupant data 3 seconds after joining. If user leaves during that window, `nil` is returned from occupant lookup and we see error as posted [here](jitsi/jitsi-meet#15335 (comment)).
@shawnchin shawnchin requested a review from emrahcom November 26, 2024 13:22
@shawnchin
Copy link
Collaborator Author

@emrahcom would you mind having a look to see if this is right?

I don't have a deploy where I can test this, and simply proposing the change based on conversation in the thread I linked above.

Thanks.

@emrahcom
Copy link
Member

Hi @shawnchin,

It looks good to me.
I can do a real test tomorrow in my test environment.

@emrahcom
Copy link
Member

Hi @shawnchin,

I'm able to reproduce the issue when I join the meeting but leave it just before the recording starts. In this case, Prosody throws an error.

After applying your patch, it was fixed.

@emrahcom emrahcom merged commit 19a5e1b into jitsi-contrib:main Nov 27, 2024
1 check passed
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.

2 participants