New issue
Advanced search Search tips

Issue 596498 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

getUserMedia optional parameter gets ignored

Reported by home.la...@gmail.com, Mar 21 2016

Issue description

Example URL:

Steps to reproduce the problem:
// ask user for access to their camera
this.mediaDevices.getUserMedia({
	audio: false,
	video: {
		optional: [{sourceId: self.params.videoSource}]
	}
})

self.params.videoSource is gathered before by selecting right deviceId-property from navigator.mediaDevices.enumerateDevices.

What is the expected behavior?
Switching Camera-Feed on Android Devices.

What went wrong?
It only uses front (default) camera and never switches as it would in the latest release (49.0.2623.91).

Did this work before? Yes 49.0.2623.91

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes 

Chrome version: 50.0.2661.35  Channel: beta
OS Version: 5.1.1
Flash Version: 

Is it just a bug, or a feature?
 
Owner: qin...@chromium.org
Status: Assigned (was: Unconfirmed)
I am also observing this behavior on Android System WebView 50.0.2661.86 across several devices. The video source ID is saved in a preference, and then in a separate web view it is passed to getUserMedia. For our application this behavior is a bug. -J

Sign in to add a comment