We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4525b51 commit 8c93b8bCopy full SHA for 8c93b8b
CefSharp.OffScreen/CefSettings.cs
@@ -21,5 +21,17 @@ public CefSettings() : base()
21
//this can be removed in user code if required
22
CefCommandLineArgs.Add("mute-audio", "1");
23
}
24
+
25
+ /// <summary>
26
+ /// Enables Audio - by default audio is muted in the OffScreen implementatio.
27
+ /// This removes the mute-audio command line flag
28
+ /// </summary>
29
+ public void EnableAudio()
30
+ {
31
+ if(CefCommandLineArgs.ContainsKey("mute-audio"))
32
33
+ CefCommandLineArgs.Remove("mute-audio");
34
+ }
35
36
37
0 commit comments