Currently we are working on a project to enable webrtc call on IPhone, which only supports h264 codec. For the other end of the call, we dock a CEF chromium browser using CEFSharp in a WPF application. CEF disables h264 by default. We build CEF using build 3239 source with the following build options to enable h264:
is_official_build=true
proprietary_codecs=true
ffmpeg_branding=Chrome
We also make sure we use v63 CEFSharp in our application.
Once we have the build, we replace the following binaries using the ones from the h264 enabled build:
d3dcompiler_47.dll
chrome_elf.dll
snapshot_blob.bin
v8_context_snapshot.bin
libGLESv2.dll
libEGL.dll
libcef.dll
natives_blob.bin
cef.pak
cef_100_percent.pak
cef_200_percent.pak
widevinecdmadapter.dll - (this one is in the widevinecdm subfolder)
cef_extensions.pak
icudtl.dat
devtools_resources.pak
We are able to get video session going using h264 codec. However we notice that the embedded chromium browser starts disabling all styles defined in <style></style>tag within the html page.
If someone knows the cause of the issue and what we did wrong in the process, could you please let me know. It is much appreciated. Thanks in advance!