[whatwg] PeerConnection constructor: Init string format

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 UTC