Commit 02feca74 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Enable WebRTC screen capturer in WebEngine

This is disabled by default, and without it screen sharing doesn't work on Wayland
Port of konqueror!113

BUG: 450839
parent e9e1d323
Pipeline #152955 passed with stage
in 2 minutes and 6 seconds
......@@ -151,6 +151,10 @@ MainApplication::MainApplication(int &argc, char** argv)
}
#endif
QByteArray flags = qgetenv("QTWEBENGINE_CHROMIUM_FLAGS");
flags.append(" --enable-features=WebRTCPipeWireCapturer");
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", flags);
QUrl startUrl;
QString startProfile;
QStringList messages;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment