CEF is said to automatically download the Widevine Library.
Indeed libwidevinecdm.so is present in user_data_path/WidevineCdm/4.10.2209.0/_platform_specific/linux_x64
directory.
Later, I also built Debug build of cefsimple using the instructions given here.
I added a std::cout inside RegisterWidevineCdmComponent funtion present in chromium source. And I was getting the std::cout, So RegisterWidevineCdmComponent was getting called.
I am running both the builds using `cefsimple --use-views --url="https://netflix.com"`
Screenshots of output of different websites.
- * Netflix - Error M7701-1003
- * Amazon Prime Video - Protected Content Error
- * Disney+Hotstar - ERR_WP_001_DRM
- * Shaka player - Interesting part is that I am able to play this video on shaka player. This video was suggested by magreenblatt here. Screenshot is here.
Can anyone please guide me towards the next logical step in debugging this issue? Thanks.