lvsti / CEF.swift

Swift bindings for the Chromium Embedded Framework
BSD 3-Clause "New" or "Revised" License
94 stars 29 forks source link

Update to CEF 4606 (Chrome 94) #62

Open rhaining opened 2 years ago

rhaining commented 2 years ago

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!

thanks!

-rob

lvsti commented 2 years ago

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

lvsti commented 2 years ago

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