You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-08-04 21:32:54 +02:00
Changed the GlobalCEFApp.EnableSpeechInput default value to false
The Speech API requires building the CEF binaries with your own Google API keys and the service is not free. http://www.chromium.org/developers/how-tos/api-keys https://cloud.google.com/speech-to-text/pricing
This commit is contained in:
@@ -677,7 +677,7 @@ begin
|
||||
FDeleteCache := False;
|
||||
FDeleteCookies := False;
|
||||
FEnableMediaStream := True;
|
||||
FEnableSpeechInput := True;
|
||||
FEnableSpeechInput := False;
|
||||
FUseFakeUIForMediaStream := False;
|
||||
FEnableUsermediaScreenCapturing := False;
|
||||
FEnableGPU := False;
|
||||
@@ -1887,7 +1887,9 @@ var
|
||||
TempFormatSettings : TFormatSettings;
|
||||
begin
|
||||
ReplaceSwitch(aKeys, aValues, '--enable-media-stream', IntToStr(Ord(FEnableMediaStream)));
|
||||
ReplaceSwitch(aKeys, aValues, '--enable-speech-input', IntToStr(Ord(FEnableSpeechInput)));
|
||||
|
||||
if FEnableSpeechInput then
|
||||
ReplaceSwitch(aKeys, aValues, '--enable-speech-input');
|
||||
|
||||
if FUseFakeUIForMediaStream then
|
||||
ReplaceSwitch(aKeys, aValues, '--use-fake-ui-for-media-stream');
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 238,
|
||||
"InternalVersion" : 239,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "88.1.4.0"
|
||||
}
|
||||
|
Reference in New Issue
Block a user