2014-05-22 16:30 GMT+02:00 Raunak Pilani <
rau...@browserstack.com>:
> In many corporate networks, all outbound UDP traffic is blocked. Which makes
> WebRTC slow as it falls back on a TURN server. It would be great if STUN
> could work over TCP and try a TCP NAT traversal.
Sorry, but you can not make the same magic with TCP as you do with
UDP. In case of a private LAN or a firewall blocking incoming TCP (as
usual) the browser cannot receive TCP connections, so the only way
(assuming UDP is blocked as you said) is using browser initiated TCP
connections against a TURN TCP server (or a WebRTC server with public
IP that can handle media over TCP.
Please, read how the STUN protocol works and you will realize that all
the "magic" it does is not feasible at all when switching to TCP.
--
Iñaki Baz Castillo
<
i...@aliax.net>