hi,I use cefsharp in my project to call ChromiumWebBrowser to load web pages. The webpage has a screen sharing function that uses webRTC. There is no pop-up window to select the screen or window to be shared. Instead, the entire screen is shared by default.
chrome kernel is :94
this is my cefsettings code:
settings.CefCommandLineArgs["autoplay-policy"] = "no-user-gesture-required";
settings.CefCommandLineArgs.Add("enable-media-stream");
settings.CefCommandLineArgs.Add("disable-gpu");
settings.CefCommandLineArgs.Add("no-proxy-server");
settings.CefCommandLineArgs.Add("enable-experimental-web-platform-features");
settings.CefCommandLineArgs.Add("enable-p2papi");
settings.CefCommandLineArgs.Add("allow-running-insecure-content");
settings.CefCommandLineArgs.Add("enable-usermedia-screen-capturing");
settings.CefCommandLineArgs.Add("enable-speech-input");
settings.CefCommandLineArgs.Add("allow-file-access-from-files");
settings.CefCommandLineArgs.Add("allow-http-screen-capture");
settings.CefCommandLineArgs.Add("auto-select-desktop-capture-source","display");
settings.CefCommandLineArgs.Add("use-fake-ui-for-media-stream");
settings.CefCommandLineArgs.Add("use-first-display-as-internal","0");