drmConfiguration_(asset, storage) {
    const netEngine = storage ?
                      storage.getNetworkingEngine() :
                      this.player_.getNetworkingEngine();
    goog.asserts.assert(netEngine, 'There should be a net engine.');
    asset.applyFilters(netEngine);

    if (storage) {
      const assetConfig = asset.getConfiguration(/* forStorage= */ true);
      storage.configure(assetConfig);
    } else {
      const assetConfig = asset.getConfiguration();
      // Remove all not-player-applied configurations, by resetting the
      // configuration then re-applying the desired configuration.
      this.player_.resetConfiguration();
      this.readHash_();
      this.player_.configure(assetConfig);
    }
    this.remakeHash();
  }
@param {ShakaDemoAssetInfo} asset
@param {shaka.offline.Storage=} storage
@private