- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Wed, 5 Feb 2014 21:07:13 +1300
- To: Randy Lin <rlin@mozilla.com>
- Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
Received on Wednesday, 5 February 2014 08:07:40 UTC
On Wed, Feb 5, 2014 at 7:43 PM, Randy Lin <rlin@mozilla.com> wrote:
> 1. What is the possible return value?
> ===> Size getMaxVideoSize(optional DOMString mimeType); // returns a
> dictionary
> a. If mimeType == empty, then return the platform can support for the
> media stream frame size like
> {1024, 768}
> b. Application sets the un-supported mimeType, then return null or {}?
> c. Application sets the supported mimeType, return platform supported
> MaxVideoSize.
>
I'm not actually proposing we add this API, not now and maybe not ever. It
was just an example of how we would extend the API if we needed to.
> 2. for scaleVideoDownToWidth/scaleVideoDownToHigh/mimeType in
> MediaRecorderOptions.
> If application sets incorrect options, how can media recorder object react
> for that one? Just use the platform default value?
>
Yes, these options represent "optional constraints" so if they can't be
satisfied the UA just returns its best effort.
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 Wednesday, 5 February 2014 08:07:40 UTC