From 543eb750d5f438efcf6f8b790b468ad18979a111 Mon Sep 17 00:00:00 2001 From: joreg Date: Mon, 18 Dec 2023 00:17:39 +0100 Subject: [PATCH] Update CefExtensions.cs --- VL.CEF/src/CefExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) 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); }