this post was submitted on 08 Dec 2023
865 points (97.5% liked)

linuxmemes

20408 readers
961 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 9 months ago (1 children)

I wonder if a user agent switcher would be enough to fool them, or if they're actually using an exclusive library or something.

[–] [email protected] 29 points 9 months ago* (last edited 9 months ago) (1 children)

In-browser DRM usually uses a library called Widevine, which is a closed-source library created by Google that's usually only used on Windows or MacOS.

On Linux, you can use Google Chrome to get Widevine working. You can also extract the library from Google Chrome to use it with Chromium (e.g. see https://github.com/proprietary/chromium-widevine). The version of Chromium shipped with Linux distros doesn't include it since you need a license and permission from Google to distribute it. Lots of Linux users would also (understandably) really not want to run a DRM binary on their system. It's intentionally obfuscated to try and prevent people from breaking it.

I don't know what other Linux browsers do - I haven't used Linux desktop for a while (going to switch back soon though). On other OSes, browsers like Firefox and Brave prompt you the first time you try to watch DRM'd content, asking if you'd like to download the plugin. I assume they license it from Google.

Also as far as I know, Widevine doesn't allow the same security/compliance levels on Linux as it does on Windows and MacOS, as the OS is less locked down. This could mean that a 4K video streaming service works fine on Windows but won't allow you to stream in 4K on Linux. Isn't DRM great???