I'd like to activate the microphone for speech input on this page: https://www.google.com/intl/en/chrome/demos/speech.html (the Google's Web Speech API Demo).
I tried to pass --enable-media-stream via command line and handling OnBeforeCommandLineProcessing, but the microphone still doesn't work.
- Code: Select all
void OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> command_line) OVERRIDE {
command_line->AppendArgument("enable-media-stream");
}
So my question, how to actually enable the microphone and the webcam for CEF?
Thank you in advance.