0

How can I using WebRTC to broadcasting the text to many users? I try to use this but it cannot use for many users.

Yu Hao
  • 119,891
  • 44
  • 235
  • 294
MyMac
  • 13
  • 4
  • I think that your more after [`websockets`](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) rather than webRTC – Kaiido Oct 26 '15 at 04:22

1 Answers1

0

WebRTC uses peer-to-peer connection, but in some cases such connection type can't be installed just by using STUN. For such situations you have to use TURN. For example this server https://github.com/coturn/coturn

Try to google free servers and add them to the your servers config. But much better to install own server with public ip

Ivan Dubynets
  • 342
  • 1
  • 3
  • 12