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

"Cannot push event (JSON error: not an object)" error after leave call (audiobridge plugin) #816

Closed
medialwerk opened this issue Mar 15, 2017 · 2 comments

Comments

@medialwerk
Copy link
Contributor

Hello,

I cannot leave a room properly anymore. I use janus with the release tag v0.2.2. After the leave request the server says that it cannot push the event due to an json error:

{"janus":"message","body":{"request":"leave"},"transaction":"nKhWIqMrVMLe","session_id":4602561339448957,"handle_id":7163307503436973}
[WSS-0x7f53a8004f00] Done, parsing message: 134 bytes
Got a Janus API request from janus.transport.websockets (0x7f53a80082e0)
Transport task pool, serving request
[7163307503436973] There's a message for JANUS AudioBridge plugin
Creating plugin result...
Sending Janus API response to janus.transport.websockets (0x7f53a80082e0)
Destroying plugin result...
Notifying participant 721328855572256 (a67348b6-cdde-4004-be84-e905051fab51)
[7442505430380042] Sending event to transport...
Sending event to janus.transport.websockets (0x7f53a8001af0)
  >> 0 (Success)
Preparing JSON event as a reply
[ERR] [janus.c:janus_plugin_push_event:2643] [7163307503436973] Cannot push event (JSON error: not an object)
  >> 455 (Invalid JSON Object)

Thanks for your help!

@lminiero
Copy link
Member

You do leave the room, simply for some reason we're not preparing the event to send you back, hence the error. Will fix.

@medialwerk
Copy link
Contributor Author

Wow that was fast, thanks! :-)

thehunmonkgroup pushed a commit to stirlab/janus-gateway that referenced this issue Apr 9, 2017
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

No branches or pull requests

2 participants