import Drm from './Drm'; import VerimatrixCustomData from './VerimatrixCustomData'; import DrmTodayCustomData from './DrmTodayCustomData'; /** * Configures a DRM system based on predefined DRM environments. * Select a DRM environment and configure it with custom data. * * @group Interfaces */ export default interface DrmConfiguration { /** * The name of the DRM environment. Possible values include: * `DRMtoday`, `DRMtoday_STAGING`, `DRMtoday_TEST`, and `Verimatrix`. */ environment: string; /** * The custom data for the DRM environment used to customize its behavior. */ customData?: DrmTodayCustomData | VerimatrixCustomData | { [index: string]: any; }; /** * The preferred DRM system to use. If not specified, * the player selects the most suitable DRM system for the given platform. */ preferredDrm?: Drm; offlineId?: string; }