[ 
https://issues.apache.org/jira/browse/CB-12064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610736#comment-17610736
 ] 

ASF subversion and git services commented on CB-12064:
------------------------------------------------------

Commit 250dd45957e8a2162e3c3dab81ef7cdb9bc337ec in cordova-plugin-camera's 
branch refs/heads/CB-12064 from Julio César
[ https://gitbox.apache.org/repos/asf?p=cordova-plugin-camera.git;h=250dd45 ]

fix(browser): use navigator.mediaDevices.getUserMedia CB-12064


> navigator.getUserMedia as used in the camera plugin for the browser target 
> has been deprecated and should be changed to match the new spec which is 
> navigator.mediaDevices.getUserMedia
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-12064
>                 URL: https://issues.apache.org/jira/browse/CB-12064
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: 3.5.0
>         Environment: Chrome, Firefox and Opera
>            Reporter: Justin Willis
>            Assignee: Jesse MacFadyen
>            Priority: Major
>
> The navigator.getUserMedia api has been deprecated and updated to be 
> navigator.mediaDevices.getUserMedia. After looking at the camera plugin today 
> and how it works with the browser target it seems that the camera plugin 
> still uses the deprecated version of the api. While the old api is currently 
> still supported along with the new version of the api in Chrome and Firefox, 
> it is due to be removed asap, which would in turn break the current version 
> of the camera plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to