You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2022/09/29 23:02:00 UTC

[jira] [Resolved] (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

     [ https://issues.apache.org/jira/browse/CB-12064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile resolved CB-12064.
-------------------------------
      Assignee: jcesarmobile  (was: Jesse MacFadyen)
    Resolution: Fixed

fixed, will be available on next release

> 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: jcesarmobile
>            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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org