Skip to Content

Interface: SourceMediaItemDrm

Extends

Properties

drmSystem

drmSystem: DrmSystem

The DRM system this source requires.


licenseUrl

licenseUrl: string

License server URL for the selected DRM system.


src

src: string

The source URL of this media source.

Inherited from

SourceMediaItemBase.src


certificateUrl?

optional certificateUrl: string

Certificate URL (relevant for FairPlay).


duration?

optional duration: number

Duration in seconds. Only relevant for dynamic content.

Inherited from

SourceMediaItemBase.duration


id?

optional id: string

Unique identifier of the media source.

Default Value

V1StGXR8_Z5jdHi6B-myT a generated identifier

Inherited from

SourceMediaItemBase.id


mimetype?

optional mimetype: Mimetype

Mimetype of the media source.

Default Value

detected from file extension of given src or undefined

Inherited from

SourceMediaItemBase.mimetype


playbackMode?

optional playbackMode: PlaybackMode

Content mode of the media source.

Default Value

PlaybackMode.VOD

Inherited from

SourceMediaItemBase.playbackMode


token?

optional token: string

DRM token to include in license requests for the selected DRM system.


validUntil?

optional validUntil: number

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

Inherited from

SourceMediaItemBase.validUntil

Last updated on