This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17704 - suggest a parameter in getUserMedia
Summary: suggest a parameter in getUserMedia
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
QA Contact:
Depends on:
Reported: 2012-07-06 03:37 UTC by Yang Sun
Modified: 2014-10-28 17:51 UTC (History)
4 users (show)

See Also:


Description Yang Sun 2012-07-06 03:37:01 UTC
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.

And the browser may have a configuration that popup:off is enabled in “privacy region”
Comment 1 Cullen Jennings 2012-10-24 19:18:19 UTC
Needs list discution
Comment 2 Yang Sun 2012-10-25 00:37:21 UTC
has submitted to media capture email list for discussion

(In reply to comment #1)
> Needs list discution
Comment 3 Harald Alvestrand 2014-10-28 17:51:29 UTC
Moving bug to Media Capture and Streams (because it's GetUserMedia), and closing as WONTFIX (because we've got consensus on when permission prompts are raised, and we're not going to change that).