Skip to Content
The new glomex player is released! 🎉View upgrade guide

Interface: MediaSourceDrm

Extends

Properties

src

src: string

The source URL of this media source.

Inherited from

MediaSourceBase.src


drmProviderHeaderName?

optional drmProviderHeaderName: string

DRM provider header name. Only relevant in combination with tokens.


fairplayCertificateUri?

optional fairplayCertificateUri: string

FairPlay certificate URI.


fairplayLicenseUri?

optional fairplayLicenseUri: string

Fairplay license URI. Or undefined when fairplayToken in combination with drmProviderHeaderName is provided.


fairplayToken?

optional fairplayToken: string

FairPlay token.


id?

optional id: string

Unique identifier of the media source.

Default Value

... a generated identifier

Inherited from

MediaSourceBase.id


mimetype?

optional mimetype: Mimetype

Mimetype of the media source.

Default Value

detected from file extension of given src or undefined

Inherited from

MediaSourceBase.mimetype


playbackMode?

optional playbackMode: PlaybackMode

Content mode of the media source.

Default Value

PlaybackMode.VOD

Inherited from

MediaSourceBase.playbackMode


playreadyLicenseUri?

optional playreadyLicenseUri: string

PlayReady license URI. Or undefined when playreadyToken in combination with drmProviderHeaderName is provided.


playreadyToken?

optional playreadyToken: string

PlayReady token.


validUntil?

optional validUntil: number

Until the media source is valid. Unix timestamp in milliseconds.

Inherited from

MediaSourceBase.validUntil


widevineLicenseUri?

optional widevineLicenseUri: string

Widevine license URI. Or undefined when widevineToken in combination with drmProviderHeaderName is provided.


widevineToken?

optional widevineToken: string

Widevine token.

Last updated on