Socket
Book a DemoInstallSign in
Socket

@svta/cml-cmsd

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svta/cml-cmsd

Common Media Server Data (CMSD) encoding and decoding

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
28K
154.57%
Maintainers
2
Weekly downloads
 
Created
Source

@svta/cml-cmsd

Common Media Server Data (CMSD) encoding and decoding.

Installation

npm i @svta/cml-cmsd

Usage

import { encodeCmsdStatic } from "@svta/cml-cmsd";

const input = Object.assign({}, CMSD_STATIC_OBJ, {
	ot: new SfToken(CmsdObjectType.VIDEO),
	sf: new SfToken(CmsdStreamingFormat.HLS),
	st: new SfToken(CmsdStreamType.VOD),
});

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

Keywords

Common Media Library

FAQs

Package last updated on 24 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts