-2

Server just have to set the connection between two apps. and then apps can communicate directly with each other without server involvement.

So what are the other possibility to communicate two devices directly without the evolvement of server.

I used websockets for that in nodejs and its working but don't want the involvement of server to send those message. on the other side I try to use WebRTC but that is used for calling and streaming purpose its based on UDP. so we can't use WEBRTC for chatting purpose.

Faiz Akbar
  • 40
  • 1
  • You _can_ use WebRTC for this perfectly fine, and it's pretty much your only real option for a P2P connection directly between two browsers. Just use a WebRTC data channel without any audio or video. – deceze Aug 07 '23 at 08:33

0 Answers0