Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1022 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 1022 Bytes

is-drm-supported

Tiny MSE video and audio DRM detection library.

Usage

The package exports the following asynchronous methods:

isPlayreadyLegacySupported

isPlayreadyChromecastSupported

isPlayreadySupported

isPlayreadyHardwareSupported

isWidevineSupported

isFairplayLegacySupported

isFairplaySupported

Example

import { isFairplaySupported } from "@eyevinn/is-drm-supported";

const hasFairplaySupport = await isFairplaySupported();

Contributing

The project uses semantic-release to automatically generate release notes and semantic versioning from on commits, it is important to follow some rules when committing.

This project uses conventional commits.

Read Using Git with Discipline.

Read How to Write a Commit Message.