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

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

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-camera

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment