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 ofNSURL
that references a media resource.\param options An instance of
NSDictionary
that contains keys for specifying options for the initialization of theOTVAVURLAsset
. SeeAVURLAssetPreferPreciseDurationAndTimingKey
andAVURLAssetReferenceRestrictionsKey
.returns: An instance of
AVURLAsset
.Declaration
Objective-C
- (nonnull instancetype)initWithURL:(NSURL *_Nonnull)URL options:(NSDictionary<NSString *, id> *_Nullable) options;