Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome hardware acceleration settings #141

Open
sridhard opened this issue Nov 13, 2022 · 6 comments
Open

Chrome hardware acceleration settings #141

sridhard opened this issue Nov 13, 2022 · 6 comments

Comments

@sridhard
Copy link

Hi,

When using widevine, chrome prevent screen capture/recording. But when the chrome hardware acceleration is disabled the screen record/capture is not restricted.

In castlabs electron release, chrome has hardware acceleration enabled or disabled? is there any way to modify this?

Thanks

@khwaaj
Copy link
Collaborator

khwaaj commented Nov 16, 2022

The capture prevention behavior and implementation generally differs between platforms, and so does hardware acceleration. Which platform or platforms are you interested in?

@sridhard
Copy link
Author

@khwaaj in windows 10 and 11

@sridhard
Copy link
Author

@khwaaj can you pls help

@khwaaj
Copy link
Collaborator

khwaaj commented Nov 30, 2022

GPU acceleration is enabled by default in Electron, and ECS. I wanted to look into the details of the capture protection, since I can't remember them of the top of my head, but I've not had time to do so yet (busy times).

Out of curiosity, what is it you are trying to achieve here?

@sridhard
Copy link
Author

sridhard commented Dec 8, 2022

@khwaaj we want to prevent users from capturing our videos. When using widevine DRM screen capture is restricted. But when hardware acceleration is disabled they can capture the screen.

@khwaaj
Copy link
Collaborator

khwaaj commented Dec 8, 2022

👍

As I said, hardware acceleration is enabled by default. However, capture protection for Widevine L3 is "best effort", regardless of acceleration, so unfortunately there are no guarantees that you will see the same behavior over platforms, hardware, or even system versions. It is certainly better than nothing though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants