OTVAVPlayerItem
@interface OTVAVPlayerItem : AVPlayerItem
OTVAVPlayerItem is derived from AVPlayerItem, please refer to apple’s documentation for further information.
-
The content of HLS playlist. It’s a key path can be observed.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull metadata; -
Creates an instance of
OTVAVPlayerItem. \param asset an instance ofOTVAVURLAsset\param automaticallyLoadedAssetKeys An array of strings, each representing a property defined by
AVAssetCreates an instance of
OTVAVPlayerItem. \param asset an AVAsset, Must beOTVAVURLAsset, otherwise getfatalErrorDeclaration
Objective-C
- (nonnull instancetype)initWithAsset:(AVAsset *_Nonnull)asset; -
Creates an instance of
OTVAVPlayerItem. \param URL a URL.Declaration
Objective-C
- (nonnull instancetype)initWithURL:(NSURL *_Nonnull)URL;
OTVAVPlayerItem Class Reference