centricular / gstcefsrc

A simple gstreamer wrapper around Chromium Embedded Framework
86 stars 45 forks source link

cefsrc: Enable definition of cef log severity #49

Closed aiden-jeffrey closed 2 years ago

aiden-jeffrey commented 2 years ago

Allows users to define the log_severity setting in cef to verbose / debug | info | warning | error | fatal | disable[default] (corresponding to cef_log_severity_t options here).

MathieuDuponchelle commented 2 years ago

Thanks, that seems useful, but I don't think the PR is quite right yet :)

sidsethupathi commented 2 years ago

From #48

Is this related to #49 or is the topic similarity coincidental? :)

I think it's coincidental :)

@aiden-loroco and I were trying to get cefsrc running in a Docker container but the gst-launch command kept exiting without displaying anything useful (it just logged out INFO cefsrc gstcefsrc.cc:423:run_cef: Initializing CEF and then exited).

Once we turned settings.log_severity = LOGSEVERITY_DEBUG, we got something that helped us figure out we needed to set sandbox=false (Running as root without --no-sandbox is not supported. See https://crbug.com/638180.).

MathieuDuponchelle commented 2 years ago

All good now let's go, thanks :muscle: