14#import <AVFoundation/AVFoundation.h>
16#import <MediaPlayer/MediaPlayer.h>
43+ (id)playerWithURL:(NSURL *)URL;
55+ (id)playerWithPlayerItem:(AVPlayerItem *)item;
65- (instancetype)initWithURL:(NSURL *)URL;
77- (instancetype)initWithPlayerItem:(AVPlayerItem *)item NS_DESIGNATED_INITIALIZER;
86- (void)replaceCurrentItemWithPlayerItem:(AVPlayerItem *)item;
132- (BOOL) addSubtitleWithUrl: (const NSString*) xUrl
133 MIMEType: (NSString*) xMIMEType
134 Language: (NSString*) xLanguage;
152- (BOOL) addSubtitleWithContent: (const NSData*) xContent
153 MIMEType: (NSString*) xMIMEType
154 Language: (NSString*) xLanguage;
194- (void)selectTrack:(
unsigned int) xIndex;
204- (void)deselectTrack:(
unsigned int) xIndex;
219- (void)registerTagListener:(
id<
INMPTagListener>)xListener forTags:(NSArray<NSString*>*)xTags;
NMPAVPlayer is the Nagra extension of iOS system AVPlayer class to support AES-128 scrambled Http Ada...
CGSize maxResolution
Property to set and get max resolution in pixels; For http adaptive streaming any stream with greater...
void unregisterAllTagListeners()
Unregister all INMPTagListeners.
int maxBandwidth
Property to set and get max bandwidth in unit of bit per second.
UIView * videoView
Property to set video renderView, and it also used as subtitle parent view.
NSArray * getTrackInfo()
Returns an array of the NMPTrackInfo of the current playing stream.
Used to receive specific HLS tags from each media playlists downloaded by NMPAVPlayer.
INMPTrackChangedListener provides notification for the client application when track information for ...