Details
Description
I use webengineview to load web pages in my app, and I have enabled the desktop captrue feature
QWebEngineSettings::defaultSettings()->setAttribute(QWebEngineSettings::ScreenCaptureEnabled, true);
when the web page request the permission for sharing screen by using getDisplayMedia interface, the app only request
QWebEnginePage::DesktopVideoCapture
not
QWebEnginePage::DesktopAudioVideoCapture
, I found that the MediaDesktopAudioCapture permission request is triggered only when
if (request.audio_type == blink::MEDIA_GUM_DESKTOP_AUDIO_CAPTURE && request.video_type == blink::MEDIA_GUM_DESKTOP_VIDEO_CAPTURE) return {WebContentsAdapterClient::MediaDesktopAudioCapture, WebContentsAdapterClient::MediaDesktopVideoCapture};
what I can do if I want to have the QWebEnginePage::DesktopAudioVideoCapture permission request.