Closed
Description
With CEF no longer using the component updater to download Widevine CDM it is necessary to expose the CefRegisterWidevineCdm
function in order to support DRM content.
The relevant CEF issue outlining the change with linked changesets: https://bitbucket.org/chromiumembedded/cef/issues/2009/dont-download-widevine-cdm-using-component
Once implemented, the new process to support Widevine involves the following steps:
- Request a Widevine license by contacting Google via the Widevine contact page: https://www.widevine.com/contact.html. You must then request the Widevine CDM binary download details.
- Within your application download the Widevine binaries and prepare the manifest.json
- Call
Cef.RegisterWidevineCdm
passing in the path to the Widevine binaries and optionally anIRegisterCdmCallback
. For async/await you can useCef.RegisterWidevineCdmAsync
again passing in the path.