cef开启摄像头和录音

参考资料:https://github.com/cztomczak/phpdesktop/wiki/Chrome-settings#command_line_switches

CefSharp中文帮助文档

Prefer Secure Origins For Powerful New Features

                CefSettings settings = new CefSettings();
settings.Locale = "zh-CN";
settings.CefCommandLineArgs.Add("enable-media-stream", ""); //开启摄像头
settings.CefCommandLineArgs.Add("enable-system-flash", ""); //flash
settings.CefCommandLineArgs.Add("enable-speech-input", ""); //语音输入
上一篇:jQuery each,避免使用js for循环


下一篇:基于visual Studio2013解决面试题之1405归并排序