An open API service indexing awesome lists of open source software.

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

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);
```