Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtWebEngine problem allow camera Qt5.6



  • Because in QtWebEngine 5.6 the onFeaturePermissionRequested does not work anymore? I can not release microphone and camera using this slot.
    I tested on ARM Cortex-A9 as Desktop.



  • In my case this function works:

    onFeaturePermissionRequested:
    {
        console.log("onFeaturePermissionRequested");
        webEngineView.grantFeaturePermission(securityOrigin, feature, true);
    }
    

    Tested on Qt 5.6 and Qt 5.7 on Desktop and Embedded