7

我正在尝试从 AVURLAsset 对象访问属性assetCache,但它始终为零。

文档提供了以下信息:

/*!
  @property assetCache
  @abstract Provides access to an instance of AVAssetCache to use for 
  inspection of locally cached media data. Will be nil if an asset has 
  not been configured to store or access media data from disk.
*/
@property (nonatomic, readonly, nullable) AVAssetCache *assetCache NS_AVAILABLE(10_12, 10_0);

那么,如何配置 AVURLAsset 以使其可以从磁盘存储或访问媒体数据?

4

0 回答 0