lvsti / CEF.swift

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

How to turn on Widevine? #39

Closed junetou closed 4 years ago

junetou commented 5 years ago

I want to know how to open Widevine, I called registerWidevineCDM before initializeMain and returned CEF_CDM_REGISTRATION_ERROR_NONE, but when I tested it at https://bitmovin.com/demos/drm it showed that Widevine is not turned on, I need some help, thank you very much.

lvsti commented 5 years ago

which branch are you using?

junetou commented 5 years ago

Thank you for your reply. System Version:MacOS 10.14.4. Xcode Version:10.2.1. Branch:cef_3770. And I used CEFDemo Helper (C) (CEFDemo) Target Dependencies to compile CEFDemo. @lvsti

lvsti commented 4 years ago

Did you try it with the CEF sample app? I'm referring to the one shipped with CEF (checked out at External/cef_binary/tests/cefclient)

junetou commented 4 years ago

Sample app can't use Widevine, I always thought that the sample app can use widevine, I am very sorry. Do you know if there is any way to make the Sample App use widevine too? Thank you very much.

lvsti commented 4 years ago

I have no idea but you can ask on the CEF forum