Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112316

wasm: declarative-camera fails to show camera

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.1, 6.8.0 FF
    • 6.5.0 RC
    • Multimedia
    • None
    • WebAssembly
    • 841fe1e93 (dev), f47c1454f (6.7)

    Description

       

       

      Declarative-camera fails on webassembly:

      (firefox)

       
      10:35:38.519 Camera permission is not granted! qtloader.js:389:25
      10:35:38.519 QQmlComponent: Component destroyed while completion pending qtloader.js:389:25
      10:35:38.527 Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted. qtloader.js line 461 > eval line 9 > Function:4:25
      10:35:38.529
      Uncaught (in promise) TypeError: can't access property "getVideoTracks", handle is null

       

      Permissions work on Chrome on my own wasm-camera test app, but not in declarative-camera
       

      ==============

       

      I think this might be a permissions thing for autoplay?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lpotter Lorn Potter
              lpotter Lorn Potter
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes