Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10502

Exception when click "Capture!" button for camera plugin in browser

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Labels:

      Description

      When you click the "Capture!" button for the camera plugin on the browser platform (in Chrome 47 or later), you get the following exception:

      Uncaught TypeError: localMediaStream.stop is not a function
          button.onclick @ CameraProxy.js:69
      

      This is because MediaStream.stop() is deprecated as of Chrome 47.

        Attachments

          Activity

            People

            • Assignee:
              TimBarham Tim Barham
              Reporter:
              TimBarham Tim Barham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: