-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[1.3.1] Server stops responding after pushEvent() is called with built-in lua plugin (echotest/videoroom) #3505
Comments
I just tried the EchoTest demo using the Lua plugin
and it works as expected for me. |
What version of Lua are you using? FYI the one on my Fedora is 5.4.6. |
I'm using lua version 5.3. |
Alright so I updated lua to 5.4.6 and it's still not working. The code runs until the end if I remove "pushEvent()" calls, so the problem is really the pushEvent. |
Or could maybe please anyone confirm that the videroom lua plugin is working with them? Would be greatly appreciated! |
Maybe some mor info: Line 521 in janus_lua.c says: Maybe because of the synchronously sent event? |
Using the VideoRoom demo page with the Lua plugin, I don't get any freezes, but I'm getting a crash when a second user joins a room:
This is probably because of an incorrect usage of Fixing that (I'll push a fix shortly) I get this:
which makes sense, because I was using the 1.x VideoRoom demo, which uses the new API even for the "old style" demo. Using the 0.x VideoRoom demo with the 1.x Lua plugin and |
What version of Janus is this happening on?
1.3.1
Have you tested a more recent version of Janus too?
Only master
Was this working before?
First try
Is there a gdb or libasan trace of the issue?
No segfault or anything else, just freeze and stops working.
Additional context
Made a clean install on a ubuntu server and the default plugins with the demo website are working.
But if I try to use the lua echotest or videoroom plugins, the logs stop at "pushEvent". I see all relevant logs before pushEvent, the json given to pushEvent is also correct, but nothing after that coroutine is called anymore.
Although I have some experience with IT Administration, this is my first time trying Janus, sorry for stupid questions.
I don't know where to go from here and where to look for logs. I would appreciate ANY help in any direction.
Thank you very much.
The text was updated successfully, but these errors were encountered: