Skip to content

Commit

Permalink
Update CefExtensions.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
joreg authored Dec 17, 2023
1 parent f97a9a9 commit 543eb75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VL.CEF/src/CefExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 543eb75

Please sign in to comment.