Page 7 of 7

Re: [SOLVED] Build CEF with proprietary codecs support

PostPosted: Wed Dec 09, 2020 8:05 pm
by amaitland
goodwin74 wrote:
akhudairy wrote:Hi I built version 84 (4147), using CEF buget version 84.4.1 and all is working fine now for me with mp4 support. I think you need to provide some more details on the error so that someone can help you.


I also get errors if I copy all these files.
Code: Select all
Error: System.InvalidOperationException: 'Cef :: Initialize () failed'

on the object creation line (ChromiumWebBrowser br = new ChromiumWebBrowser ("");)

Maybe someone knows how to solve this problem?
The version of the already installed package with NuGet is 86.0.24
The version from where I'm copying the files (compiled by CEF) is cef_binary_87.1.11 + g8bb7705 + chromium-87.0.4280.66


You cannot mix and match versions, you must build the exact matching version used by CefSharp if you choose this approach.

86.0.24+g85e79d4+chromium-86.0.4240.198 / Chromium 86.0.4240.198
The commit hash is 85e79d4 should you wish to build this version (just remove the leading g)

Re: [SOLVED] Build CEF with proprietary codecs support

PostPosted: Thu Dec 10, 2020 5:01 am
by goodwin74
amaitland wrote:You cannot mix and match versions, you must build the exact matching version used by CefSharp if you choose this approach.

86.0.24+g85e79d4+chromium-86.0.4240.198 / Chromium 86.0.4240.198
The commit hash is 85e79d4 should you wish to build this version (just remove the leading g)

Thank you so much! Indeed you were right. I compiled version 86 and replaced the files, after that it worked. The conclusion is this: the version with NuGet and the version of the assembly should be the same :)