Re: Allowing RTCIceServer to contain multiple URLs

2013/6/1 Justin Uberti <juberti@google.com>:
> In the best case, the web server can return IP addresses directly to JS with
> the pageload, eliminating any DNS lookup. I think that S-NAPTR for STUN/TURN
> will probably only require a single lookup, but the larger concern is that
> IIRC, DNS on Windows XP does not support S-NAPTR, which would break this for
> a sizable chunk of the Internet population (10%+)

In some RT protocols, the client does load-balancing and failover
based on NAPTR/SRV records. For example, a SIP/XMPP client gets the
SRV records of its domain, chooses one server and, since it does not
respond, it connects to the next one. That mechanism is builit-in the
protocol.

If the WebRTC client performs a NAPTR query and retrieve multiple
servers, it can try all of them in a *transparent* way for the JS
application. If instead a single DNS A or IP is given, such a failover
feature is lost (or should be implemented at JS layer).


--
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Monday, 3 June 2013 10:38:33 UTC