Open sridhard opened 1 year ago
The capture prevention behavior and implementation generally differs between platforms, and so does hardware acceleration. Which platform or platforms are you interested in?
@khwaaj in windows 10 and 11
@khwaaj can you pls help
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?
@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.
👍
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.
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