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 OTVAVURLAsset for inspection of a media resource.

    Declaration

    Swift

    public override init(url URL: URL, options: [String : Any]? = nil)

    Parameters

    URL

    An instance of NSURL that references a media resource.

    options

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

    Return Value

    An instance of AVURLAsset.