Can I enable WebRTC in QtWebKit 3.0? if Yes, how?

  • Here my simple app

    import QtQuick 2.0
    import QtQuick.Controls 1.0
    import QtWebKit 3.0
    ScrollView {
        width: 640
        height: 480
        WebView {
            id: webview
            url: ""
            anchors.fill: parent
            experimental.userAgent:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36"
            onNavigationRequested: {
                // detect URL scheme prefix, most likely an external link
                var schemaRE = /^\w+:/;
                if (schemaRE.test(request.url)) {
                    request.action = WebView.AcceptRequest;
                } else {
                    request.action = WebView.IgnoreRequest;
                    // delegate request.url here

    Q1 - Does QtWebKit 3.0 have support for WebRTC? if Yes how do I enable it?

    Q2 - How do I Allow WebRTC webcam request programmatically (using QML or not)?

    In other words

    Is there a way to programmatically set Chromium Web Engine policy e.g. VideoCaptureAllowed

    Q3 - If solutions for Q1 and Q2 on desktop, may they work on Single Board Computers (RISK ARM)?

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