Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. 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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • None
    • cordova-plugin-camera
    • None
    • Chrome, Firefox and Opera

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              jgw9617 Justin Willis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: