Intertrust ExpressPlay on Android
This article describes how to configure Intertrust ExpressPlay DRM with THEOplayer.
Head to our page on DRM for more general information.
note
Support for this DRM system has not been verified on the Android and Android TV SDKs.
Integration
We provide open-source DRM integrations which are easy to maintain and allow for a modular approach. You can find them in the DRM integration samples repository, alongside guides on how to integrate and use them.
There currently is no ready-made integration for this DRM provider: you can choose to develop one based on the examples in the repository, or get in contact with us about making one.
Code example
Not verified.
DRMConfiguration drmConfiguration = new DRMConfiguration.Builder()
.widevine(
new KeySystemConfiguration(
"<LICENSE_KEY_URL_WIDEVINE>"
)
)
.build();
TypedSource typedSource = new TypedSource.Builder()
.src("<DASH_STREAM_URL>")
.drm(drmConfiguration)
.build();
SourceDescription sourceDescription = SourceDescription.Builder.sourceDescription()
.sources(typedSource)
.build();
theoplayer.getPlayer().setSource(sourceDescription);