W3C home > Mailing lists > Public > public-media-capture@w3.org > February 2014

Re: About the Mandatory constraints

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 6 Feb 2014 23:09:03 +1300
Message-ID: <CAOp6jLZvxfQnpZGvsqXCK=-9n5w68zck5RL8RO1r0DR7erZ68g@mail.gmail.com>
To: Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On Thu, Feb 6, 2014 at 7:34 AM, Stefan HÃ¥kansson LK <
stefan.lk.hakansson@ericsson.com> wrote:

> Just to be clear: I think we have debated the mandatory constraints for
> gUM several times, and we always come back to the same conclusion:
> people want them. One use is when the app developer wants to avoid
> disturbing the user, or even indicate e.g. that video communication is
> possible, if the equipment does not fulfill the requirements the app
> developer has.
>

That's a good point which I had overlooked; thank you for correcting me.

That gUM needs mandatory constraints but MediaRecorder does not actually
strengthens my case that they should not share Constraints machinery, IMHO.

Given that gUM should have some form of mandatory constraints, we could
easily add them without the abstract Constrainable machinery. The details
of how we add them are relatively inconsequential, but for example, we
could have a GetUserMediaOptions dictionary representing a single
constraint set and have a GetUserMediaOptionsCollection dictionary that
provides the 'optional'/'mandatory' syntax currently required by
Constraints. [Personally I suggest lighter-weight syntax that allows a
single sequence of GetUserMediaOptions, but gives GetUserMediaOptions a
'mandatory' boolean member to make that set of options mandatory.
('mandatory' would only be honoured on the first element of the list.).]

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
Received on Thursday, 6 February 2014 10:09:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:24 UTC