W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] PeerConnection constructor: Init string format

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 8 Apr 2011 12:51:23 -0400
Message-ID: <BANLkTikDM9W4OUwyU1h7sgNtnpAHs0i7Jw@mail.gmail.com>
On Fri, Apr 8, 2011 at 4:41 AM, Harald Alvestrand <harald at alvestrand.no>wrote:

> My alternate proposal:
> --------------------------------------------------------------
> The initialization string looks like this:
>
> {
>  ?stun_service?: { ?host?: ?stun.example.com?,
>                   ?service?: ?stun?,
>                   ?protocol?: ?udp?
>                 },
>  ?turn_service?: { ?host?: ?turn.example.com? }
> }
>

FWIW, I thought the block-of-text configuration string was peculiar and
unlike anything else in the platform.  I agree that using a configuration
object (of some kind) makes more sense.

-- 
Glenn Maynard
Received on Friday, 8 April 2011 09:51:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT