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

<video> doesn't render MediaStream from getUserMedia

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • cordova-android
    • Android 4.4-6.0, Crosswalk,

      Testing done mostly with Nexus6P, but run on some older devices too.

    Description

      Previewing camera input in a video element using getUserMedia works perfectly fine in Chrome, but breaks as soon as we open the same view within a cordova app.

      Added an example using Mozilla gUM polyfill here: https://s3-eu-west-1.amazonaws.com/rafal-temp/index.html

      (note that both new and deprecated gUM APIs don't work).

      This results in an empty, black <video> element. No errors are fired.

      Initially I thought, that this issue was related to AndroidManifest.xml permissions and CSP, but fixing them makes no difference.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rafpast Rafal Pastuszak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: