-
Notifications
You must be signed in to change notification settings - Fork 22
/
MLAVPlayer.h
20 lines (19 loc) · 1.13 KB
/
MLAVPlayer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#import "MLAVAssetPlayer.h"
#import "MLAVAssetPlayerDelegate.h"
#import "MLInnerTubePlayerConfig.h"
#import "MLPlayerViewProtocol.h"
#import "MLPlayerStickySettings.h"
#import "MLStreamSelectorDelegate.h"
#import "MLVideoFormatConstraint.h"
@interface MLAVPlayer : NSObject <MLAVAssetPlayerDelegate, MLStreamSelectorDelegate>
@property (nonatomic, readwrite, assign) BOOL active;
@property (nonatomic, readonly, assign) BOOL externalPlaybackActive;
@property (nonatomic, readwrite, assign) float rate;
@property (nonatomic, strong, readwrite) NSObject <MLVideoFormatConstraint> *videoFormatConstraint;
@property (nonatomic, readonly, strong) MLVideo *video;
@property (nonatomic, readonly, strong) MLInnerTubePlayerConfig *config;
@property (nonatomic, readonly, strong) MLAVAssetPlayer *assetPlayer;
@property (nonatomic, readwrite, strong) UIView <MLPlayerViewProtocol> *renderingView;
- (instancetype)initWithVideo:(MLVideo *)video playerConfig:(MLInnerTubePlayerConfig *)playerConfig stickySettings:(MLPlayerStickySettings *)stickySettings externalPlaybackActive:(BOOL)externalPlaybackActive;
- (NSArray <MLFormat *> *)selectableVideoFormats;
@end