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

Re: Constraints and MediaRecorder

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 4 Feb 2014 11:26:24 +1300
Message-ID: <CAOp6jLa7UEWDv=7O4PrOFxaCrZXA-qZ7PSzjM=DugkZ-VEfmUg@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Martin Thomson <martin.thomson@gmail.com>, Cullen Jennings <fluffy@iii.ca>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On Tue, Feb 4, 2014 at 8:35 AM, Harald Alvestrand <harald@alvestrand.no>wrote:

> It seems to me more complex to do:
>
> app: get me a 96khz recorder
> browser: can't do that
> app: get me a 80khz recorder
> browser: can't do that
> app: get me a 48khz recorder
> browser: can't do that
> app: get me a 44.1khz recorder
> browser: ok, here's one
>
> than to do
>
> app: get me a recorder absolutely above 40 khz, prefer one above 80 khz
> browser: ok, here's an 88.2khz recorder
>

The former is the simpler API. Doing the same simple thing in a loop
doesn't make the solution complicated.

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 Monday, 3 February 2014 22:26:54 UTC

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