Once I modify it, how do I incorporate/compile/run that file? I searched that file in my Windows installation of LC. But I didn't find it. Do I need to compile the engine? or can I just edit that file and replace something locally in my machine?
The lines which I want to modify are:
Code: Select all
CefMainArgs t_args;
CefSettings t_settings;
t_settings.multi_threaded_message_loop = false;
t_settings.command_line_args_disabled = true;
t_settings.no_sandbox = true;
t_settings.log_severity = LOGSEVERITY_VERBOSE;
The problem that I'm facing is that currently the browser widget can't access the GetUserMedia() JavaScript method because the CEF browser requires the --enable-media-stream flag to enable the WebRTC features and thus allow the GetUserMedia to access the webcam and microphone.
From the CEF forum I have found how to add flags. I really don't know C++ but I'm praying adding this line will enable WebRTC:
Code: Select all
t_settings.CefCommandLineArgs.Add("enable-media-stream", "1");
Thank you!