CEF.swift
CEF.swift copied to clipboard
Update to CEF 4606 (Chrome 94)
Hi,
If I use branch.txt
to point to CEF 4606, I get a few compiler errors around Widevine/CDM, which seems to no longer be in the standard binaries of CEF, but which is behind a compiler flag. If I comment out the few respective functions which have errors, the project compiles fine and runs a-okay in my own project.
With Widevine seemingly no longer in the default binary of CEF, should CEF.swift update to no longer reference those? Or maybe plop the functions behind a preprocessor macro, in case someone wants to pull in their own CEF?
I'd be happy to push up a PR with the changes, if you'd like!
-
CEFCDMRegistrationError.g.swift
:- the code in
extension CEFCDMRegistrationError
- the code in
-
CEFRegisterCDMCallback+Interop.g.swift
:- everything
-
CEFRegisterCDMCallback+Interop.swift
:- everything
-
CEFWebPluginUtils.swift
:-
registerWidevineCDM()
andregisterWidevineCDM
-
thanks!
-rob
Hi, plz see: https://github.com/lvsti/CEF.swift/issues/61#issuecomment-945176971
I've made CEF 4606 and 4638 available, let me know if it worked.