As title says, how can I connect custom node.js backend to jicofo (so it can recieve colibri messages, or better yet so it can act as participant), I debugged lib-jitsi-meet and figured out following:
Participants are establishing bridgeChannel connection in two ways, websockets or webRTCDataChannel. I started implementing backend functionality in similar manner, but I am not sure when are participants using websockets and when webRTCDataChannel. Also is there some key data that needs to be setup in order for backend to connect using webRTCDataChannels, I extracted stun server url but I guess that is not all that needs to be done. And last but not least, is this possible at all to do this because we all know that webRTC is browser technology.
Once again final goal is for node.js backend to be able to receive same messages that all the other participants are receiving.
NOTE: I already did xmpp client implementation on the backend, so backend is currently receiving xmpp presence messages, so this is the next step.
Thanks in advance