Class LocalMediaDrmCallback

  • All Implemented Interfaces:
    MediaDrmCallback

    public final class LocalMediaDrmCallback
    extends Object
    implements MediaDrmCallback
    A MediaDrmCallback that provides a fixed response to key requests. Provisioning is not supported. This implementation is primarily useful for providing locally stored keys to decrypt ClearKey protected content. It is not suitable for use with Widevine or PlayReady protected content.
    • Constructor Detail

      • LocalMediaDrmCallback

        public LocalMediaDrmCallback​(byte[] keyResponse)
        Parameters:
        keyResponse - The fixed response for all key requests.