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



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.