示例#1
0
 /// <summary>
 /// Enables Audio - by default audio is muted in the OffScreen implementatio.
 /// This removes the mute-audio command line flag
 /// </summary>
 public void EnableAudio()
 {
     if (CefCommandLineArgs.ContainsKey("mute-audio"))
     {
         CefCommandLineArgs.Remove("mute-audio");
     }
 }
示例#2
0
 private void AddCommandLine(CefCommandLineArgment cefCommandLineArgment)
 {
     if (CefCommandLineArgs.ContainsKey(cefCommandLineArgment.Key))
     {
         CefCommandLineArgs[cefCommandLineArgment.Key] = cefCommandLineArgment.Value;
     }
     else
     {
         CefCommandLineArgs.Add(cefCommandLineArgment.Key, cefCommandLineArgment.Value.ToString());
     }
 }