For two peers, is there a way to send text messages without going through the video bridge server? I know the webrtc datachannel is peer-to-peer, but seems Jitsi prefers websocket. If we use the web socket, I wonder if we can make the connection just between the two clients (peers). Thank you.
We followed the example code of the lib-jitsi-meet to create a Jitsi client. After a room is created, the below code (callback function) is used waiting for the data channel to be opened.
room.rtc.addEventListener(‘rtc.data_channel_open’, () => {}); (The callback did fire)
I wonder if the “rtc.data_channel” is a webrtc data channel communicating between two peers only. Thanks.
Thanks saghul. I guess you are suggesting using jvb as a signaling server to negotiate a new peer connection. Is my understanding correct? And is there any sample code for such configuration? Thanks again.