Class FrameworkMediaCrypto

    • Field Detail

      • WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC

        public static final boolean WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC
        Whether the device needs keys to have been loaded into the DrmSession before codec configuration.
      • uuid

        public final UUID uuid
        The DRM scheme UUID.
      • sessionId

        public final byte[] sessionId
        The DRM session id.
      • forceAllowInsecureDecoderComponents

        public final boolean forceAllowInsecureDecoderComponents
        Whether to allow use of insecure decoder components even if the underlying platform says otherwise.
    • Constructor Detail

      • FrameworkMediaCrypto

        public FrameworkMediaCrypto​(UUID uuid,
                                    byte[] sessionId,
                                    boolean forceAllowInsecureDecoderComponents)
        Parameters:
        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.