OTVAVURLAsset
public class 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.Declaration
Swift
public override init(url URL: URL, options: [String : Any]? = nil)Parameters
URLAn instance of
NSURLthat references a media resource.optionsAn instance of
NSDictionarythat contains keys for specifying options for the initialization of theOTVAVURLAsset. SeeAVURLAssetPreferPreciseDurationAndTimingKeyandAVURLAssetReferenceRestrictionsKey.Return Value
An instance of
AVURLAsset.