# @svta/cml-cmsd

> Common Media Server Data (CMSD) encoding and decoding

Latest version **1.1.1** (published 2026-09-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @svta/cml-cmsd
pnpm add @svta/cml-cmsd
yarn add @svta/cml-cmsd
bun add @svta/cml-cmsd
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2026-09-15 |
| First published | 2025-10-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 41 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 84 |
| Maintainers | littlespex, jason_n_thibeault |
| Keywords | Common Media Library, CML, CMSD, CTA-5006, Common Media Server Data |

## Links

- npm: https://www.npmjs.com/package/@svta/cml-cmsd
- Repository: https://github.com/streaming-video-technology-alliance/common-media-library
- Homepage: https://github.com/streaming-video-technology-alliance/common-media-library/tree/main/libs/cmsd
- Issues: https://github.com/streaming-video-technology-alliance/common-media-library/issues
- npm.io page: https://npm.io/package/@svta/cml-cmsd

## Recent versions

- 1.1.1 (latest) — 2026-09-15
- 1.1.0 — 2026-07-28
- 1.0.7 — 2026-07-21
- 1.0.6 — 2026-05-13
- 1.0.5 — 2026-02-12
- 1.0.4 — 2026-02-05
- 1.0.3 — 2026-02-03
- 1.0.2 — 2025-12-26
- 1.0.1 — 2025-12-22
- 1.0.0 — 2025-10-24
- 0.22.0 — 2025-10-23
- 0.21.0 — 2025-10-21
- 0.20.0 — 2025-10-14
- 0.19.0 — 2025-10-08

## README

# @svta/cml-cmsd

Common Media Server Data (CMSD) encoding and decoding.

## Installation

```bash
npm i @svta/cml-cmsd
```

## Usage

```typescript
import {
	CmsdObjectType,
	CmsdStreamingFormat,
	CmsdStreamType,
	encodeCmsdStatic,
} from "@svta/cml-cmsd";
import type { CmsdStatic } from "@svta/cml-cmsd";

const input: CmsdStatic = {
	ot: CmsdObjectType.VIDEO,
	sf: CmsdStreamingFormat.HLS,
	st: CmsdStreamType.VOD,
	d: 5000,
	br: 2000,
	n: "OriginProviderA",
};

console.log(encodeCmsdStatic(input));
// ot=v,sf=h,st=v,d=5000,br=2000,n="OriginProviderA"
```

---
_Source: https://npm.io/package/@svta/cml-cmsd · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
