[
https://issues.apache.org/jira/browse/CB-10502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127761#comment-15127761
]
ASF subversion and git services commented on CB-10502:
------------------------------------------------------
Commit e48a7e5c5cffe8d9bab6eeff33feeb2747930ace in cordova-plugin-camera's
branch refs/heads/master from [~TimBarham]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=e48a7e5
]
CB-10502 Fix camera plugin exception in Chrome when click capture.
The MediaStream.stop() method has been deprecated as of Chrome 47. We were
using it, and it was generating an exception.
If stop() method is not found, instead stop each individual track (the new way
of doing it).
> Exception when click "Capture!" button for camera plugin in browser
> -------------------------------------------------------------------
>
> Key: CB-10502
> URL: https://issues.apache.org/jira/browse/CB-10502
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Reporter: Tim Barham
> Assignee: Tim Barham
> Priority: Critical
>
> When you click the "Capture!" button for the camera plugin on the browser
> platform (in Chrome 47 or later), you get the following exception:
> {noformat}
> Uncaught TypeError: localMediaStream.stop is not a function
> button.onclick @ CameraProxy.js:69
> {noformat}
> This is because {{MediaStream.stop()}} is deprecated as of Chrome 47.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]