0

I am trying to run the webRTC code which i have mentioned below, it is working fine when i am connecting with two devices using same network. But it is not connecting when the devices are in different networks and i am getting DOM Exception. please help me to fix it.

please refer the below link for your understanding

rupesh sripuram
  • 279
  • 1
  • 3
  • 12

1 Answers1

0

It seems like you need a TURN-Server. (CoTurn for example). The traffic will be relayed if a direct connection is not possible (NAT, Firewall,...)

Polaris
  • 712
  • 7
  • 21