OTVAVURLAsset


@interface OTVAVURLAsset : AVURLAsset

OTVAVURLAsset is used for streams encrypted with Apple’s FairPlay Streaming (FPS). It is derived from AVURLAsset, please refer to apple’s documentation for further information.

  • Initializes an instance of OTVAVURLAsset for inspection of a media resource. \param URL An instance of NSURL that references a media resource.

    \param options An instance of NSDictionary that contains keys for specifying options for the initialization of the OTVAVURLAsset. See AVURLAssetPreferPreciseDurationAndTimingKey and AVURLAssetReferenceRestrictionsKey.

    returns: An instance of AVURLAsset.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithURL:(NSURL *_Nonnull)URL
                                options:(NSDictionary<NSString *, id> *_Nullable)
                                            options;