@videts/vide / drm
drm
Interfaces
| Interface | Description |
|---|---|
| ClearKeyConfig | ClearKey DRM configuration (no license server required). |
| DrmPluginOptions | Options for the DRM plugin. |
| DrmRetryConfig | Retry configuration for license requests and certificate fetching. |
| FairPlayConfig | FairPlay DRM configuration. |
| KeySystemCandidate | A candidate key system with optional robustness and encryption scheme. |
| PlayReadyConfig | PlayReady DRM configuration. |
| ResolvedDrmConfig | Resolved DRM configuration stored via setPluginData("drm"). |
| WidevineConfig | Widevine DRM configuration. |
Type Aliases
| Type Alias | Description |
|---|---|
| KeySystem | Key system identifier string. |
Functions
| Function | Description |
|---|---|
| dashDrmConfig | Generate dash.js settings fragment from resolved DRM info. |
| detectKeySystem | Detect the first supported key system from the given candidates. Returns the KeySystem string, or null if none are supported. |
| drm | Create a DRM plugin for vide. |
| hlsDrmConfig | Generate hls.js config fragment from resolved DRM info. |
| queryDrmSupport | Query support for multiple key systems. Returns a Map with each key system mapped to a boolean indicating support. |
| setupEme | Set up standalone EME (Encrypted Media Extensions) handling on a video element. This enables DRM-protected MP4 playback without hls.js or dash.js. |