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

Re: quibble on terminology

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 17 Jun 2013 22:36:58 +0200
Message-ID: <CALiegfmDUi9O0sZqOaAgUGu=2OBP_GKJd8W+FA9qcrJ=MSNzcQ@mail.gmail.com>
To: Jim Barnett <Jim.Barnett@genesyslab.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
2013/6/17 Jim Barnett <Jim.Barnett@genesyslab.com>:
> I keep getting confused by this, and perhaps others do as well:   there is
> an addStream() API call, and an addstream event.  But the API call adds a
> local stream, while the event signals the arrival of a remote stream.
> Wouldn’t it be better to rename the event something like ‘addremotestream’
> or ‘newremotestream’ or ‘remotestream’ .  The same goes for removeStream()
> and removestream.

Or maybe the onaddstream event could be fired when a remote or *local*
stream is added (by passing a event.data.originator attribute).

Iñaki Baz Castillo
Received on Monday, 17 June 2013 20:37:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:44 UTC