W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2012

Re: [ACTION-43] (sdp related objects and global namespace) - way forward

From: Anant Narayanan <anant@mozilla.com>
Date: Fri, 15 Jun 2012 22:06:46 -0700
Message-ID: <4FDC1466.2000400@mozilla.com>
To: public-webrtc@w3.org
On 06/15/2012 03:55 AM, Harald Alvestrand wrote:

> We do provide constructors for PeerConnectionEvent,
> PeerConnectionIceEvent, MediaStreamTrackEvent, MediaStreamEvent and
> DataChannelEvent.
>
> Dom, do all events require constructors?
>
> MediaStream provides a constructor, but only for making a mediastream
> out of track lists.
> getUserMedia seems to be the only other name we expose in the
> getUserMedia spec.

Nice. I think we can get away with only the following globals:

window.navigator.getUserMedia
window.PeerConnection
window.MediaStream

If there are any besides these in the spec, let's discuss how we can 
resolve that by moving them into one of the three (or if we need them at 
all).

-Anant
Received on Saturday, 16 June 2012 05:07:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:28 UTC