Re: Indicating sourceType while invoking getUserMedia().

Hi Gili,
The intention of my proposal is different.

My intention is to extend the getUserMedia capability to access file source
along with the camera, mic etc just like to play as a live source in
browser.

Thanks,
Kiran.


On Tue, Dec 10, 2013 at 8:19 PM, cowwoc <cowwoc@bbs.darktech.org> wrote:

>  Why does this logic belong in the browser instead of the app? Meaning,
> you could capture to live video into local storage and provide the user
> with a download link when the operation is done, can't you?
>
> Gili
>
>
> On 10/12/2013 6:32 AM, Kiran Kumar wrote:
>
> Dear All,
>
>  I suggest to add one more argument as parameter to getUserMedia to
> identify the type of input device and prompt the permission accordingly.
>
>  getUserMedia(constrints, success, failure, *sourceType*)
>
>  sourceType can be an enum which represents the type of source like
> sourceType
> {
>     liveSource,
>     staticSource
> };
>
>  Based on the type of source the user should get the prompt for
> permission like,
>
>  Do you want to allow camera to access
> If the user allows, it displays the list of cameras
> or
>  Do you want to allow file system to access.
> If the user allows, it displays the window to access file system and
> select the required file.
>
>  Comments and Suggestions welcome.
>
>  Thanks,
> Kiran.
>
>
>

Received on Wednesday, 11 December 2013 04:46:51 UTC