sweef-cdm

command
v0.1.0-alpha.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command sweef-cdm is the CDM host helper: a separate process that loads a vendor Content Decryption Module (the Widevine shared library the user already has) and serves the framed CDM host protocol of internal/media/cdm on its standard input and output.

It is a separate binary because loading a shared library needs the dynamic loader, and the Sweef browser binary on Linux is fully static. The helper is the one place in the project that is allowed to be dynamically linked. Sweef starts it on demand (internal/media/cdm.FindHelper); it exits when its standard input closes.

sweef-cdm -cdm /path/to/libwidevinecdm.so          serve the protocol (what Sweef runs)
sweef-cdm -probe -cdm /path/to/libwidevinecdm.so   load the library, print what it reports, exit

For Verified Media Path the signature of this executable is read from <this executable>.sig (the file castLabs EVS writes). See docs/drm.md.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL