Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.11.3
-
None
-
* Yocto BSP Linux Image, based on boot2qt (v5.13, layer: pyro).
* EGLFS (without X11)
Description
I have the yocto BSP image, based on boot2qt layer (v5.11.3) for the apalis-imx6 board.
This simple code:
import QtQuick 2.0 import QtQuick.Window 2.0 import QtWebEngine 1.7 Window { width: 1024 height: 750 visible: true WebEngineView { id: view anchors.fill: parent url: "https://webrtc.github.io/samples/" onFeaturePermissionRequested: { console.log("onFeaturePermissionRequested"); view.grantFeaturePermission(securityOrigin, feature, true); } onNewViewRequested: { console.log("onNewViewRequested"); request.openIn(view) } } }
at clicking by URL's: "Coose camera resolution"-> "HD" return an error:
getUserMedia: User Media support is disabled
which is displayed inside of a WebEngineView item.
This callback:
onFeaturePermissionRequested: { console.log("onFeaturePermissionRequested"); view.grantFeaturePermission(securityOrigin, feature, true); }
does not called.
But, same code, does work as expected, I see the web-camera stream, on
- on Windows Desktop (Qt 5.13.0)
- on Archlinux Desktop (Qt 5.11.3)