Chatting feature

30 views
Skip to first unread message

P G

unread,
Sep 3, 2018, 9:05:40 AM9/3/18
to OpenVidu
Hello,
Do your example tutorials use WEBRTC datachannel for texting between users or another websocket connection? 

I would like to learn more about the signaling part and how it is designed too to port it to other platforms
Thank you

Pablo

unread,
Sep 3, 2018, 9:20:59 AM9/3/18
to OpenVidu
Hi,

Currently we are not using data channels WebRTC capabilities. Every browser-server/server-browser communication that is not a WebRTC connection is made through a single WebSocket connection.

P G

unread,
Sep 3, 2018, 9:25:36 AM9/3/18
to OpenVidu
Thank you for your Reply.
So mainly you are using the RTCPeer and GetMediastream only from Webrtc. For example, client1 has getmediastream, creates a rtcpeerconnection to OV, OV creates a getmediastream object on server side, and a server side rtcpeerconnection  and forwards the received data client2 right? OV acts like a router in this case and as a SFU

Pablo

unread,
Sep 4, 2018, 1:36:04 PM9/4/18
to OpenVidu
Yes, OpenVidu Server side acts as a SFU, sending certain WebRTC media streams (those sent by Publishers) to specific clients (Subscribers).
Reply all
Reply to author
Forward
0 new messages