mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-21 19:26:35 +01:00
Enable WebRTC screen capturer in WebEngine
This is disabled by default, and without it screen sharing doesn't work on Wayland
Port of https://invent.kde.org/network/konqueror/-/merge_requests/113
BUG: 450839
(cherry picked from commit 02feca74ce
)
This commit is contained in:
parent
bd5a42fba2
commit
1ef7a6547a
@ -151,6 +151,10 @@ MainApplication::MainApplication(int &argc, char** argv)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QByteArray flags = qgetenv("QTWEBENGINE_CHROMIUM_FLAGS");
|
||||||
|
flags.append(" --enable-features=WebRTCPipeWireCapturer");
|
||||||
|
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", flags);
|
||||||
|
|
||||||
QUrl startUrl;
|
QUrl startUrl;
|
||||||
QString startProfile;
|
QString startProfile;
|
||||||
QStringList messages;
|
QStringList messages;
|
||||||
|
Loading…
Reference in New Issue
Block a user