CEF.swift icon indicating copy to clipboard operation
CEF.swift copied to clipboard

Update to CEF 4606 (Chrome 94)

Open rhaining opened this issue 2 years ago • 2 comments

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
  • CEFRegisterCDMCallback+Interop.g.swift:
    • everything
  • CEFRegisterCDMCallback+Interop.swift:
    • everything
  • CEFWebPluginUtils.swift:
    • registerWidevineCDM() and registerWidevineCDM

thanks!

-rob

rhaining avatar Oct 12 '21 22:10 rhaining

Hi, plz see: https://github.com/lvsti/CEF.swift/issues/61#issuecomment-945176971

lvsti avatar Oct 17 '21 19:10 lvsti

I've made CEF 4606 and 4638 available, let me know if it worked.

lvsti avatar Nov 02 '21 20:11 lvsti