https://github.com/li0ard/pssh
Protection System Specific Header (PSSH) decoder and encoder
https://github.com/li0ard/pssh
cdm drm playready pssh widevine
Last synced: 10 days ago
JSON representation
Protection System Specific Header (PSSH) decoder and encoder
- Host: GitHub
- URL: https://github.com/li0ard/pssh
- Owner: li0ard
- License: mit
- Created: 2026-02-14T15:38:30.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2026-02-14T15:42:41.000Z (14 days ago)
- Last Synced: 2026-02-14T23:34:58.880Z (13 days ago)
- Topics: cdm, drm, playready, pssh, widevine
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@li0ard/pssh
Protection System Specific Header (PSSH) decoder and encoder
## Installation
```bash
# from NPM
npm i @li0ard/pssh
```
## Usage
```ts
import { PSSH } from "@li0ard/pssh";
const pssh = Buffer.from("....", "base64");
const decoded = PSSH.decode(pssh);
console.log(decoded);
```