uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.34k stars 74 forks source link

DRM in windows #184

Open rafalohaki opened 1 year ago

rafalohaki commented 1 year ago

Preliminary checklist

Can the bug be reproduced with corresponding Chromium version?

Yes

Cromite version

116.0.5845.82

Device architecture

x64

Android version

14

Device model

Windows

Changed flags

#enable-gpu-rasterization #enable-zero-copy #enable-cast-streaming-av1 #use-angle #encrypted-client-hello

Is this bug happening in an incognito tab?

Yes

Is this bug caused by the adblocker?

No

Is this bug a crash?

no

Describe the bug

Playback of protected content is not enabled i have selected allowing of protected content ids but still getting error

Steps to reproduce the bug

open open.spotify

Expected behavior

work

Screenshots

Details

![image](https://github.com/uazo/cromite/assets/20607107/ae2c1be7-df31-45eb-b0c3-3ce4c116f75a) ![image](https://github.com/uazo/cromite/assets/20607107/7e84b066-28a7-45f8-b42a-bb9fd04fb138)

rafalohaki commented 11 months ago

still not working image

uazo commented 11 months ago

check IsPersistentLicenseTypeSupported see https://bugs.chromium.org/p/chromium/issues/detail?id=853336

see also:

rafalohaki commented 11 months ago

so its not possible to fix within cromite?

brokoler commented 7 months ago

Just tried to get Widevine working with Cromite for Windows.

I followed below guide, downloaded all files as needed and placed them in a Widevine: https://chromium.woolyss.com/#widevine

Afterwards I checked via chrome://components if the Widevine plugin was installed successfully. Sadly it's missing, which means per my understanding that Cromite didn't set the right flags during compilation process to support Widevine.

My suggestion is:

uazo commented 7 months ago

I followed below guide, downloaded all files as needed and placed them in a Widevine: https://chromium.woolyss.com/#widevine

thank you, I will look into it considering that the cdm management source code is integrated into the media code I am looking at for https://github.com/uazo/cromite/issues/710

brokoler commented 7 months ago

Just tested this with Ungoogled Chromium. In case of Ungoogled Chromium the Widevine component is missing, but if the Widevine folder from an existing Chrome installation is moved to the UserData folder it's recognized by the browser and working.

The "WidevineCdm" folder has to be copied to following path: C:\Users\WindowsAdmin\AppData\Local\Chromium\User Data

Afterwards it's recognized by the browser: image

I can confirm Widevine videos then started all to work, maybe Cromite could get the same implementation in future? @uazo Thanks for your fast reply and interest to this request!

uazo commented 7 months ago

maybe Cromite could get the same implementation in future?

only if it is proven that the decryption key of the streams is not tied to the device.

uazo commented 2 days ago

ISSUE: https://issues.chromium.org/issues/40642952