Closed OceanS2000 closed 2 years ago
Hi, would you be willing to submit a PR with the relevant change? Be sure to add a CEF version check.
After further digging, the flag you suggested is unrelated to the functionality that web_security
used to allow (and has existed since 2013).
Additionally, you can find information on why the flag was removed here.
@WizardCM Thanks for your information! So it makes sense to just remove reference to web_security
entirely? I have drafted a PR and please review!
This should be resolved with #323. As that PR is included with the obs-browser shipped with OBS Studio 27.2, this should also be resolved in full builds of OBS Studio 27.2+.
Operating System Info
Other
Other OS
Gentoo Linux
OBS Studio Version
Git
OBS Studio Version (Other)
No response
OBS Studio Log URL
Failed to build, build log attached below
OBS Studio Crash Log URL
No response
Expected Behavior
The in tree plugin build successfully with
-DBUILD_BROWSER=ON
Current Behavior
Build failed with
Steps to Reproduce
cd obs-plugins/obs-browser && git pull
to make sure we are onmaster
branch of the pluginhttps://cef-builds.spotifycdn.com/index.html
cef_binary_91.1.23+g04c8d56+chromium-91.0.4472.164_linux64_minimal.tar.bz2
and build the wrapperAnything else we should know?
It seems that the upstream has a new key in
cef_browser_settings_t
https://github.com/chromiumembedded/cef/blob/1ffa5528b3e3640751e19cf47d8bcb615151907b/include/internal/cef_types.h#L609
Changing the offending line to
cefBrowserSettings.universal_access_from_file = STATE_ENABLED;
fixes the build. I have not got a chance to test the functionality though.