diff --git a/VL.CEF/src/CefExtensions.cs b/VL.CEF/src/CefExtensions.cs index a10dbe2..7cd9cf7 100644 --- a/VL.CEF/src/CefExtensions.cs +++ b/VL.CEF/src/CefExtensions.cs @@ -113,6 +113,8 @@ protected override void OnBeforeCommandLineProcessing(string processType, CefCom { // Enable auto play (https://github.com/vvvv/VL.CEF/issues/12) commandLine.AppendSwitch("autoplay-policy", "no-user-gesture-required"); + //enable camera + commandLine.AppendSwitchWithValue("enable-media-stream","true"); base.OnBeforeCommandLineProcessing(processType, commandLine); }