BBB Socket protocol

50 views
Skip to first unread message

Felix Selter

unread,
Apr 5, 2021, 5:54:02 AM4/5/21
to BigBlueButton-dev
Hello everyone,

First of all thanks a lot for your awesome work.

I'm very interested in your socket protocol.
With Socket Protocol I mean the communication between the default user frontend and the other current users.
I can easily extract payloads like sending a message:

["{\"msg\":\"method\",\"method\":\"sendGroupChatMsg\",\"params\":[\"MAIN-PUBLIC-GROUP-CHAT\",{\"color\":\"0\",\"correlationId\":\"w_ppm0hgfxajug-1617615732815\",\"sender\":{\"id\":\"w_ppm0hgfxajug\",\"name\":\"test\"},\"message\":\"The Message\"}],\"id\":\"14\"}"]

But I'm more interested in the routine like the always pending ping pong or the subscription system.

It would be very appreciated if someone could take a few minutes and tell me the process or link some great doc that I missed. It would be best if I could connect to the socket and get treated like a default user at the end.

Much thanks to all of you for your great work!

Best regards and stay healthy
Felix Selter

sd...@distancelearning.cloud

unread,
Apr 5, 2021, 8:23:51 AM4/5/21
to bigblueb...@googlegroups.com

Instead of looking at the client websocket,  just make a connection to redis, and subscribe to the events you want.

Redis library is available for just about every dev language.

With shell redis-cli,  monitor will show all events, and easy to see and mimic.

 

Regards,

Stephen

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/6e5b1c7f-cec3-481c-9027-91b4e52863e3n%40googlegroups.com.

Felix Selter

unread,
Apr 5, 2021, 12:10:40 PM4/5/21
to bigblueb...@googlegroups.com
How can I connect to redis without being the admin of the room

sd...@distancelearning.cloud

unread,
Apr 5, 2021, 12:20:14 PM4/5/21
to bigblueb...@googlegroups.com

That requires you own the bbb server, and connect to back end redis server side.

 

Won’t work if your just emulating the html5 client

Felix Selter

unread,
Apr 5, 2021, 12:31:41 PM4/5/21
to bigblueb...@googlegroups.com
Thanks for your reply.
Do you may know something about the socket connection. I poorly cant guarantee admin privileges

Reply all
Reply to author
Forward
0 new messages