PDA

View Full Version : Allow QWebEnginePage to use screen share feature



INeedADollar
15th June 2020, 23:03
Hello! I try to allow screen sharing in QWebEnginePage, but I cannot find a solution. I tried setting the QWebEnginePage :: DesktopVideoCapture feature when featurePermissionRequested signal is emitted, but it's not working.
I used for testing discord.com site that has server screen sharing feature, but when I press the Share Screen button when connected to voice client I get this error: "Uncaught (in promise) notallowederror: invalid state".
How can I get this to work? Or it's not implemented yet in QtWebEngine module?