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
OTVAVURLAssetfor inspection of a media resource.-
Return: An instance of
AVURLAsset.
\param URL An instance of
NSURLthat references a media resource.\param options An instance of
NSDictionarythat contains keys for specifying options for the initialization of theOTVAVURLAsset. SeeAVURLAssetPreferPreciseDurationAndTimingKeyandAVURLAssetReferenceRestrictionsKey.Declaration
Objective-C
- (nonnull instancetype)initWithURL:(NSURL *_Nonnull)URL options:(NSDictionary<NSString *, id> *_Nullable) options; -
Return: An instance of
OTVAVURLAsset Class Reference