I have tried to use CEF for testing with https://appr.tc , but whenever I press join I get error: "Failed to get access to local media. Error name was NotAllowedError." . I can use this site with Chrome originally. I have added these lines to CefSharp.Wpf:
- Code: Select all
CefSettings settings = new CefSettings();
settings.CefCommandLineArgs.Add("enable-media-stream", "1");
settings.CefCommandLineArgs.Add("use-fake-ui-for-media-stream", "1");
settings.CefCommandLineArgs.Add("enable-speech-input", "1");
settings.CefCommandLineArgs.Add("enable-usermedia-screen-capture", "1");
if (!Cef.IsInitialized && !Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null))
{
throw new InvalidOperationException("Cef::Initialize() failed");
}
I have used Cef on 52 version and it worked great with these flags. Anyone know what was changed since then?
Thanks in advance!