OTVAVPlayerItem
public class 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
Swift
@objc public dynamic var metadata: String -
Creates an instance of
OTVAVPlayerItem.Declaration
Swift
public convenience init(asset: AVAsset)Parameters
assetan AVAsset, Must be
OTVAVURLAsset, otherwise getfatalError -
Creates an instance of
OTVAVPlayerItem.Declaration
Swift
public convenience init(url URL: URL)Parameters
URLa URL.
OTVAVPlayerItem Class Reference