[SOLVED] Build CEF with proprietary codecs support

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: [SOLVED] Build CEF with proprietary codecs support

Postby amaitland » Wed Dec 09, 2020 8:05 pm

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)
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: [SOLVED] Build CEF with proprietary codecs support

Postby goodwin74 » Thu Dec 10, 2020 5:01 am

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 :)
goodwin74
Newbie
 
Posts: 4
Joined: Sun Dec 06, 2020 5:30 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 42 guests