public final class FrameworkMediaCrypto extends java.lang.Object implements ExoMediaCrypto
ExoMediaCrypto implementation that contains the necessary information to build or
update a framework MediaCrypto.| Modifier and Type | Field and Description |
|---|---|
boolean |
forceAllowInsecureDecoderComponents
Whether to allow use of insecure decoder components even if the underlying platform says
otherwise.
|
byte[] |
sessionId
The DRM session id.
|
java.util.UUID |
uuid
The DRM scheme UUID.
|
static boolean |
WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC
Whether the device needs keys to have been loaded into the
DrmSession before codec
configuration. |
| Constructor and Description |
|---|
FrameworkMediaCrypto(java.util.UUID uuid,
byte[] sessionId,
boolean forceAllowInsecureDecoderComponents) |
public static final boolean WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC
DrmSession before codec
configuration.public final java.util.UUID uuid
public final byte[] sessionId
public final boolean forceAllowInsecureDecoderComponents
public FrameworkMediaCrypto(java.util.UUID uuid,
byte[] sessionId,
boolean forceAllowInsecureDecoderComponents)
uuid - The DRM scheme UUID.sessionId - The DRM session id.forceAllowInsecureDecoderComponents - Whether to allow use of insecure decoder components
even if the underlying platform says otherwise.