GoogleChrome / GoogleChrome/samples

takePhoto() not working on Surface Pro 4

Open
#568 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
2.4k
Avg merge
24m
Merged PRs (30d)
2

Description

Hi,

when trying the takePhoto method i get no output on your samples page:
https://googlechrome.github.io/samples/image-capture/grab-frame-take-photo.html

If i click the Button 'Get User Media' the back camera starts up. 'Grab Frame' paints the image into the box.
Upon clicking 'Take Photo' the camera stops and the imagebox stays black.

The 'Live Output' shows an empty object '{ }'

Chrome version:
Version 64.0.3282.167 (Offizieller Build) (64-Bit)

If I try a local version with your example i get following error in the chrome console:
DOMException: setOptions() failed

The Demo page works fine on my Desktop PC as well as on my Mac.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.