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

Re: Labels, IDs and uniqueness (Re: New version of editors draft released (20121212))

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Tue, 18 Dec 2012 07:00:38 +0100
Message-ID: <50D00686.3000704@ericsson.com>
To: Travis Leithead <travis.leithead@microsoft.com>
CC: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 2012-12-17 19:32, Travis Leithead wrote:
>> From: Harald Alvestrand [mailto:harald@alvestrand.no]
>> Changing subject line again....
>> I think the difference in the two is not so much how it is generated,
>> but what its uniqueness guarantee is.
>> I think the "id" is guaranteed to be unique across all tracks in some
>> context (in a PC? In an UA? in a MediaStream? For tracks, that depends
>> on what we decide happens to the "id" when a track is created from
>> another track - I'd prefer a new "id", which lets them be UA-wide unique).
>> The "label" is intended to be human readable, and is not guaranteed to
>> be unique in any context.
>> My take.
> How much more informative will the label be than the proposed "sourceType" attribute?

My understanding is that all cameras of the same media type will have 
the same sourceType, but label (on track) can, e.g., be used to 
distinguish between cameras of different brands (e.g. "Logitech USB Cam 0").

Received on Tuesday, 18 December 2012 06:03:21 UTC

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