- From: Anant Narayanan <anant@mozilla.com>
- Date: Sun, 28 Oct 2012 15:19:23 -0700 (PDT)
- To: public-media-capture@w3.org
----- Sunyang (Eric) <eric.sun@huawei.com> wrote: > During development, we do not need keyboard or mouse for input, just video camera for input.So it is not possible to use keyboard/mouse to select the options, and our use case can have other way for user authentication. > > And can we have a mode, that getUserMedia only generate mediastream without prompt to user for camera usage confirmation? > > Can we have a parameter "popup:off" in getUserMedia ({video:true,audio:true,popup:off},gotStream,noStream) > So browser will not prompt to user select device, and silently activate the camera and audio deivce. In Firefox, you may set the "media.navigator.permissions.disabled" preference to true via about:config (and custom builds) to disable the permission prompt. This is intended for use by developers, similar to the case you describe above. -Anant
Received on Sunday, 28 October 2012 22:19:50 UTC