Second attempt call app-media-image-capture.takePhoto() does nothing when running in Polymer v2.
I also see this error in the console:
Uncaught TypeError: Failed to construct 'ImageCapture': parameter 1 is not of type 'MediaStreamTrack'.
at HTMLElement.__computeImageCapture (app-media-image-capture.js:58)
Description
Second attempt call app-media-image-capture.takePhoto() does nothing when running in Polymer v2.
I also see this error in the console: Uncaught TypeError: Failed to construct 'ImageCapture': parameter 1 is not of type 'MediaStreamTrack'. at HTMLElement.__computeImageCapture (app-media-image-capture.js:58)
Expected outcome
Each call to takePhoto() should take a new photo.
Actual outcome
Only the first takePhoto call works in Polymer 2.
Browsers Affected