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

Re: [ACTION-59] Introduce lookup by id structures for streams and tracks.

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 5 Nov 2012 14:02:23 +0000
Message-ID: <CABkgnnUCEBy1t_y0SyhrngQDdcojZccNWD=+TB=zQSU7hYFFSg@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 5 November 2012 13:36, Adam Bergkvist <adam.bergkvist@ericsson.com> wrote:
> B) Keep the possibility to use indices for looping (but not guarantee the
> order)

This is my preference.  Anything that returns sequence<MediaStream> is fine.

I've seen too many instances of problems arising from custom
interfaces to be happy with anything else.

If you want to aggressively prevent the sort of programming errors
that we discussed, randomize the order.  You'll excuse me if I think
that's just a little excessive.
Received on Monday, 5 November 2012 14:02:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 14:02:58 GMT